pgsql: pg_dump: avoid useless query in binary_upgrade_set_type_oids_by_ - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: pg_dump: avoid useless query in binary_upgrade_set_type_oids_by_
Date
Msg-id E1nBi0Z-0006Hi-T7@gemulon.postgresql.org
Whole thread Raw
List 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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ac7df108cf32e11e4bd120898ed09bd58fa5b62c

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


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Clean up recent Coverity complaints.
Next
From: Andres Freund
Date:
Subject: pgsql: pg_basebackup: Skip a few more fsyncs if --no-sync is specified.