pg_upgrade: prevent oid conflicts with new-cluster TOAST tables
authorBruce Momjian
Thu, 7 Aug 2014 18:56:13 +0000 (14:56 -0400)
committerBruce Momjian
Thu, 7 Aug 2014 18:56:13 +0000 (14:56 -0400)
commitf445b368d357332fb8392384ee4d75f21f07c5bb
treea6fce5ef4e2d6636fac9a982eecc2000a05fcf28
parentdc431f41672611d5575e330209784adad73b4f0d
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
contrib/pg_upgrade/dump.c
contrib/pg_upgrade/pg_upgrade.c
contrib/pg_upgrade/pg_upgrade.h
src/backend/catalog/toasting.c
src/include/catalog/binary_upgrade.h