pgsql: pg_dump: avoid useless query in binary_upgrade_set_type_oids_by_

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: pg_dump: avoid useless query in binary_upgrade_set_type_oids_by_
Date: 2022-01-23 18:54:35
Message-ID: E1nBi0Z-0006Hj-U8@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/1042de69dbb6f3c0aa92a741a68aeca23f4ed45e

Modified Files
--------------
src/bin/pg_dump/pg_dump.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2022-01-23 22:11:16 pgsql: pg_basebackup: Skip a few more fsyncs if --no-sync is specified.
Previous Message Tom Lane 2022-01-23 17:51:44 pgsql: Clean up recent Coverity complaints.