pgsql: Add missing binary-upgrade guard.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add missing binary-upgrade guard.
Date: 2022-02-17 15:58:33
Message-ID: E1nKjAv-0006W6-9q@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add missing binary-upgrade guard.

Commit 9a974cbcba005256a19991203583a94b4f9a21a9 arranged for
pg_dumpall to preserve tablespace OIDs, but it should only do that
in binary upgrade mode, not all the time.

Reported by Christoph Berg.

Discussion: http://postgr.es/m/YgjwrkEvNEqoz4Vm@msg.df7cb.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/138c51b72168e7b57c9edb4e9935274d3abf6bed

Modified Files
--------------
src/bin/pg_dump/pg_dumpall.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2022-02-17 15:59:37 Re: pgsql: pg_upgrade: Preserve relfilenodes and tablespace OIDs.
Previous Message Andrew Dunstan 2022-02-17 15:04:12 pgsql: Disable perl2host() processing in TAP tests