Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 1a123e3

Browse files
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
1 parent 94902b1 commit 1a123e3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/bin/pg_dump/pg_dump.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4290,8 +4290,6 @@ getPublications(Archive *fout)
42904290

42914291
query = createPQExpBuffer();
42924292

4293-
resetPQExpBuffer(query);
4294-
42954293
/* Get the publications. */
42964294
if (fout->remoteVersion >= 130000)
42974295
appendPQExpBufferStr(query,

0 commit comments

Comments
 (0)