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 12590c5 commit 4041808Copy full SHA for 4041808
src/bin/pg_dump/pg_dump.c
@@ -3491,20 +3491,20 @@ dumpPublication(Archive *fout, PublicationInfo *pubinfo)
3491
first = false;
3492
}
3493
3494
- if (!first)
3495
- appendPQExpBufferStr(query, ", ");
3496
-
3497
if (pubinfo->pubupdate)
3498
{
+ if (!first)
+ appendPQExpBufferStr(query, ", ");
+
3499
appendPQExpBufferStr(query, "update");
3500
3501
3502
3503
3504
3505
3506
if (pubinfo->pubdelete)
3507
3508
appendPQExpBufferStr(query, "delete");
3509
3510
0 commit comments