Skip to content

Commit 35bc310

Browse files
committed
Fix incorrect format placeholder
1 parent cf64d4e commit 35bc310

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/pg_upgrade/info.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,7 @@ get_db_subscription_count(DbInfo *dbinfo)
756756

757757
conn = connectToServer(&old_cluster, dbinfo->db_name);
758758
res = executeQueryOrDie(conn, "SELECT count(*) "
759-
"FROM pg_catalog.pg_subscription WHERE subdbid = %d",
759+
"FROM pg_catalog.pg_subscription WHERE subdbid = %u",
760760
dbinfo->db_oid);
761761
dbinfo->nsubs = atoi(PQgetvalue(res, 0, 0));
762762

0 commit comments

Comments
 (0)