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
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/4c6780fd17aa43ed6362aa682499cc2f9712cc8b
Modified Files
--------------
contrib/pg_upgrade/dump.c | 70 ++++++++++++++++++++++++++++++++++
contrib/pg_upgrade/pg_upgrade.c | 2 +
contrib/pg_upgrade/pg_upgrade.h | 1 +
src/backend/catalog/toasting.c | 55 +++++++++++++++++++++-----
src/include/catalog/binary_upgrade.h | 5 +++
5 files changed, 123 insertions(+), 10 deletions(-)