pgsql: pg_upgrade: allow upgrades for new-only TOAST tables

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: pg_upgrade: allow upgrades for new-only TOAST tables
Date: 2014-07-07 17:24:16
Message-ID: E1X4CeG-00056k-RN@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

pg_upgrade: allow upgrades for new-only TOAST tables

Previously, when calculations on the need for toast tables changed,
pg_upgrade could not handle cases where the new cluster needed a TOAST
table and the old cluster did not. (It already handled the opposite
case.) This fixes the "OID mismatch" error typically generated in this
case.

Backpatch through 9.2

Branch
------
REL9_4_STABLE

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

Modified Files
--------------
contrib/pg_upgrade/info.c | 64 ++++++++++++++++++++++++++++++++++++---------
1 file changed, 51 insertions(+), 13 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2014-07-07 23:03:13 pgsql: In pg_dump, show server and pg_dump versions with or without --v
Previous Message Andrew Dunstan 2014-07-07 13:01:16 Re: pgsql: Fix typos in comments.