Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit95a8283

Browse files
committed
Fix incorrect format placeholders
Small fixup for9637bad.
1 parent6447097 commit95a8283

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/bin/pg_upgrade/pg_upgrade.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ set_locale_and_encoding(void)
407407
if (GET_MAJOR_VERSION(new_cluster.major_version) >=1500)
408408
PQclear(executeQueryOrDie(conn_new_template1,
409409
"UPDATE pg_catalog.pg_database "
410-
" SET encoding = %u, "
410+
" SET encoding = %d, "
411411
" datlocprovider = '%c', "
412412
" datcollate = %s, "
413413
" datctype = %s, "
@@ -421,7 +421,7 @@ set_locale_and_encoding(void)
421421
else
422422
PQclear(executeQueryOrDie(conn_new_template1,
423423
"UPDATE pg_catalog.pg_database "
424-
" SET encoding = %u, "
424+
" SET encoding = %d, "
425425
" datcollate = %s, "
426426
" datctype = %s "
427427
" WHERE datname = 'template0' ",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp