pg_upgrade: prevent oid conflicts with new-cluster TOAST tables
Previously, TOAST tables only required in the new cluster could cause
oid conflicts if they were auto-numbered and a later conflicting oid had
to be assigned.
Backpatch through 9.3
Branch
------
REL9_3_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/fca9f349ba6815ccf4f6ad0747a86549ccf8685e
Modified Files
--------------
contrib/pg_upgrade/dump.c | 73 +++++++++++++++++++++++++++++++++++++++
contrib/pg_upgrade/pg_upgrade.c | 2 ++
contrib/pg_upgrade/pg_upgrade.h | 1 +
src/backend/catalog/toasting.c | 59 +++++++++++++++++++++++++------
4 files changed, 125 insertions(+), 10 deletions(-)