Add missing binary-upgrade guard.
Robert Haas <rhaas@postgresql.org>
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
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_dump/pg_dumpall.c | modified | +5 −2 |
Discussion
- pgsql: pg_upgrade: Preserve relfilenodes and tablespace OIDs. 4 messages · 2022-01-17 → 2022-02-18