Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6447097 commit 95a8283Copy full SHA for 95a8283
src/bin/pg_upgrade/pg_upgrade.c
@@ -407,7 +407,7 @@ set_locale_and_encoding(void)
407
if (GET_MAJOR_VERSION(new_cluster.major_version) >= 1500)
408
PQclear(executeQueryOrDie(conn_new_template1,
409
"UPDATE pg_catalog.pg_database "
410
- " SET encoding = %u, "
+ " SET encoding = %d, "
411
" datlocprovider = '%c', "
412
" datcollate = %s, "
413
" datctype = %s, "
@@ -421,7 +421,7 @@ set_locale_and_encoding(void)
421
else
422
423
424
425
426
" datctype = %s "
427
" WHERE datname = 'template0' ",
0 commit comments