mirror of
https://github.com/postgres/postgres.git
synced 2026-04-23 07:07:22 -04:00
parent
64470973b1
commit
95a828378e
1 changed files with 2 additions and 2 deletions
|
|
@ -407,7 +407,7 @@ set_locale_and_encoding(void)
|
|||
if (GET_MAJOR_VERSION(new_cluster.major_version) >= 1500)
|
||||
PQclear(executeQueryOrDie(conn_new_template1,
|
||||
"UPDATE pg_catalog.pg_database "
|
||||
" SET encoding = %u, "
|
||||
" SET encoding = %d, "
|
||||
" datlocprovider = '%c', "
|
||||
" datcollate = %s, "
|
||||
" datctype = %s, "
|
||||
|
|
@ -421,7 +421,7 @@ set_locale_and_encoding(void)
|
|||
else
|
||||
PQclear(executeQueryOrDie(conn_new_template1,
|
||||
"UPDATE pg_catalog.pg_database "
|
||||
" SET encoding = %u, "
|
||||
" SET encoding = %d, "
|
||||
" datcollate = %s, "
|
||||
" datctype = %s "
|
||||
" WHERE datname = 'template0' ",
|
||||
|
|
|
|||
Loading…
Reference in a new issue