projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94902b1
)
Remove superfluous PQExpBuffer resetting
author
Daniel Gustafsson
Wed, 2 Oct 2024 11:07:31 +0000
(13:07 +0200)
committer
Daniel Gustafsson
Wed, 2 Oct 2024 11:07:31 +0000
(13:07 +0200)
Since the buffer was just created, there is no reason to immediately
reset it.
Reviewed-by: Ranier Vilela
Discussion: https://postgr.es/m/
C2F05B3C
-1414-45DD-AE09-
6FEE4D0F89BD
@yesql.se
src/bin/pg_dump/pg_dump.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/pg_dump/pg_dump.c
b/src/bin/pg_dump/pg_dump.c
index 130b80775dbf9cd693fc08e1f653c9d8b6cb2f4e..c29a2030af30e9c915492ef90a9a54f3f375db9e 100644
(file)
--- 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,