8000
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 cf64d4e commit 35bc310Copy full SHA for 35bc310
src/bin/pg_upgrade/info.c
@@ -756,7 +756,7 @@ get_db_subscription_count(DbInfo *dbinfo)
756
757
conn = connectToServer(&old_cluster, dbinfo->db_name);
758
res = executeQueryOrDie(conn, "SELECT count(*) "
759
- "FROM pg_catalog.pg_subscription WHERE subdbid = %d",
+ "FROM pg_catalog.pg_subscription WHERE subdbid = %u",
760
dbinfo->db_oid);
761
dbinfo->nsubs = atoi(PQgetvalue(res, 0, 0));
762
0 commit comments