1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-18 13:44:19 +03:00

Fix incorrect format placeholders

for commits 8f427187db7, 6ee3b91bad2
This commit is contained in:
Peter Eisentraut 2025-04-10 08:04:35 +02:00
parent d7c04db27a
commit 9ad19295e9

View File

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