aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bin/pg_dump/pg_dump.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c
index b6794d06ded..f7b28408b5f 100644
--- a/src/bin/pg_dump/pg_dump.c
+++ b/src/bin/pg_dump/pg_dump.c
@@ -3491,20 +3491,20 @@ dumpPublication(Archive *fout, PublicationInfo *pubinfo)
first = false;
}
- if (!first)
- appendPQExpBufferStr(query, ", ");
-
if (pubinfo->pubupdate)
{
+ if (!first)
+ appendPQExpBufferStr(query, ", ");
+
appendPQExpBufferStr(query, "update");
first = false;
}
- if (!first)
- appendPQExpBufferStr(query, ", ");
-
if (pubinfo->pubdelete)
{
+ if (!first)
+ appendPQExpBufferStr(query, ", ");
+
appendPQExpBufferStr(query, "delete");
first = false;
}