Remove unnecessary resetPQExpBuffer call

Oversight in e2c52beecd.

Author: Julien Rouhaud <rjuju123@gmail.com>
Reviewed-by: Nathan Bossart <nathandbossart@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/20220209025007.eogz2aivcnvw46ym%40jrouhaud
pull/77/head
Peter Eisentraut 4 years ago
parent b9a3139397
commit 4c5c41b4d9
  1. 2
      src/bin/pg_dump/pg_dump.c

@ -6524,8 +6524,6 @@ getIndexes(Archive *fout, TableInfo tblinfo[], int numTables)
} }
appendPQExpBufferChar(tbloids, '}'); appendPQExpBufferChar(tbloids, '}');
resetPQExpBuffer(query);
appendPQExpBuffer(query, appendPQExpBuffer(query,
"SELECT t.tableoid, t.oid, i.indrelid, " "SELECT t.tableoid, t.oid, i.indrelid, "
"t.relname AS indexname, " "t.relname AS indexname, "

Loading…
Cancel
Save