Skip to content

Commit 9ad1929

Browse files
committed
Fix incorrect format placeholders
for commits 8f42718, 6ee3b91
1 parent d7c04db commit 9ad1929

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/pg_dump/pg_dump.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10905,7 +10905,7 @@ dumpRelationStats_dumper(Archive *fout, const void *userArg, const TocEntry *te)
1090510905

1090610906
/* restore relation stats */
1090710907
appendPQExpBufferStr(out, "SELECT * FROM pg_catalog.pg_restore_relation_stats(\n");
10908-
appendPQExpBuffer(out, "\t'version', '%u'::integer,\n",
10908+
appendPQExpBuffer(out, "\t'version', '%d'::integer,\n",
1090910909
fout->remoteVersion);
1091010910
appendPQExpBufferStr(out, "\t'schemaname', ");
1091110911
appendStringLiteralAH(out, rsinfo->dobj.namespace->dobj.name, fout);
@@ -10960,7 +10960,7 @@ dumpRelationStats_dumper(Archive *fout, const void *userArg, const TocEntry *te)
1096010960
break;
1096110961

1096210962
appendPQExpBufferStr(out, "SELECT * FROM pg_catalog.pg_restore_attribute_stats(\n");
10963-
appendPQExpBuffer(out, "\t'version', '%u'::integer,\n",
10963+
appendPQExpBuffer(out, "\t'version', '%d'::integer,\n",
1096410964
fout->remoteVersion);
1096510965
appendPQExpBufferStr(out, "\t'schemaname', ");
1096610966
appendStringLiteralAH(out, rsinfo->dobj.namespace->dobj.name, fout);

0 commit comments

Comments
 (0)