Add missing binary-upgrade guard.

Robert Haas <rhaas@postgresql.org>

Commit: 138c51b72168e7b57c9edb4e9935274d3abf6bed
Author: Robert Haas <rhaas@postgresql.org>
Date: 2022-02-17T15:53:51Z
Releases: 15.0
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

Files

PathChange+/−
src/bin/pg_dump/pg_dumpall.c modified +5 −2

Discussion