git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cf64d4e)
Fix incorrect format placeholder
2024年1月11日 20:49:00 +0000 (21:49 +0100)
2024年1月11日 20:49:00 +0000 (21:49 +0100)

diff --git a/src/bin/pg_upgrade/info.c b/src/bin/pg_upgrade/info.c
index 190dd53a427a7bafbd24cd2fff4697c13548f8e8..74e02b3f826510f9a02d70f29bd3c245fb2c1086 100644 (file)
--- a/src/bin/pg_upgrade/info.c
+++ b/src/bin/pg_upgrade/info.c
@@ -756,7 +756,7 @@ get_db_subscription_count(DbInfo *dbinfo)
conn = connectToServer(&old_cluster, dbinfo->db_name);
res = executeQueryOrDie(conn, "SELECT count(*) "
- "FROM pg_catalog.pg_subscription WHERE subdbid = %d",
+ "FROM pg_catalog.pg_subscription WHERE subdbid = %u",
dbinfo->db_oid);
dbinfo->nsubs = atoi(PQgetvalue(res, 0, 0));
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /