diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c index 130b80775db..c29a2030af3 100644 --- a/src/bin/pg_dump/pg_dump.c +++ b/src/bin/pg_dump/pg_dump.c @@ -4290,8 +4290,6 @@ getPublications(Archive *fout) query = createPQExpBuffer(); - resetPQExpBuffer(query); - /* Get the publications. */ if (fout->remoteVersion >= 130000) appendPQExpBufferStr(query,