pgsql: pg_upgrade: allow upgrades for new-only TOAST tables - Mailing list pgsql-committers

From Bruce Momjian
Subject pgsql: pg_upgrade: allow upgrades for new-only TOAST tables
Date
Msg-id E1X4CeG-00056i-RH@gemulon.postgresql.org
Whole thread Raw
List 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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/3088cc37044a303fc50857d8d9e7e44b5c250642

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


pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: pgsql: pg_upgrade: allow upgrades for new-only TOAST tables
Next
From: Tom Lane
Date:
Subject: pgsql: In pg_dump, show server and pg_dump versions with or without --v