pgsql: pg_upgrade: prevent oid conflicts with new-cluster TOAST tables

Started by Bruce Momjianalmost 12 years ago1 messagescomitters
Jump to latest
#1Bruce Momjian
bruce@momjian.us

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(-)

--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers