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

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: pg_upgrade: prevent oid conflicts with new-cluster TOAST tables
Date: 2014-08-07 18:56:18
Message-ID: E1XFSrK-00022u-Dh@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2014-08-08 00:46:48 pgsql: Fix typo in docs.
Previous Message Robert Haas 2014-08-07 13:52:05 pgsql: Fix alternate regression test output file.