Add missing binary-upgrade guard.
authorRobert Haas <[email protected]>
Thu, 17 Feb 2022 15:53:51 +0000 (10:53 -0500)
committerRobert Haas <[email protected]>
Thu, 17 Feb 2022 15:53:51 +0000 (10:53 -0500)
commit138c51b72168e7b57c9edb4e9935274d3abf6bed
treece9fd00bae97c2318c44013f301bf375e55abb88
parentf1ac4a74dee5ac0c89612fe2ac6e48082edbec23
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/[email protected]
src/bin/pg_dump/pg_dumpall.c