pg_dump: avoid useless query in binary_upgrade_set_type_oids_by_type_oid

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 1042de69dbb6f3c0aa92a741a68aeca23f4ed45e
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2022-01-23T18:54:24Z
Releases: 14.2
pg_dump: avoid useless query in binary_upgrade_set_type_oids_by_type_oid

Commit 6df7a9698 wrote appendPQExpBuffer where it should have
written printfPQExpBuffer.  This resulted in re-issuing the
previous query along with the desired one, which very accidentally
had no negative consequences except for some wasted cycles.

Back-patch to v14 where that came in.

Discussion: https://postgr.es/m/1714711.1642962663@sss.pgh.pa.us

Files

PathChange+/−
src/bin/pg_dump/pg_dump.c modified +1 −1

Discussion