aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Gustafsson <dgustafsson@postgresql.org>2024-10-02 13:07:31 +0200
committerDaniel Gustafsson <dgustafsson@postgresql.org>2024-10-02 13:07:31 +0200
commit1a123e3b136bf38ebf5f7a97b358306998f8a61f (patch)
treeb6910fadf82093673897f16266b7b8ebf6a74b2c /src
parent94902b146fae024c03f80d496a0da5ba9751c9b5 (diff)
downloadpostgresql-1a123e3b136bf38ebf5f7a97b358306998f8a61f.tar.gz
postgresql-1a123e3b136bf38ebf5f7a97b358306998f8a61f.zip
Remove superfluous PQExpBuffer resetting
Since the buffer was just created, there is no reason to immediately reset it. Reviewed-by: Ranier Vilela <ranier.vf@gmail.com> Discussion: https://postgr.es/m/C2F05B3C-1414-45DD-AE09-6FEE4D0F89BD@yesql.se
Diffstat (limited to 'src')
-rw-r--r--src/bin/pg_dump/pg_dump.c2
1 files changed, 0 insertions, 2 deletions
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,