1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-11 05:41:32 +03:00

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
This commit is contained in:
Daniel Gustafsson 2024-10-02 13:07:31 +02:00
parent 94902b146f
commit 1a123e3b13

View File

@ -4290,8 +4290,6 @@ getPublications(Archive *fout)
query = createPQExpBuffer();
resetPQExpBuffer(query);
/* Get the publications. */
if (fout->remoteVersion >= 130000)
appendPQExpBufferStr(query,