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-00022t-Dc@gemulon.postgresql.org
Views: Whole Thread | Raw Message | 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_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/f445b368d357332fb8392384ee4d75f21f07c5bb

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

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.