pg_upgrade: allow upgrades for new-only TOAST tables

Bruce Momjian <bruce@momjian.us>

Commit: f64fe2cbe6f1ec74a97e32d152d02ff9e371da14
Author: Bruce Momjian <bruce@momjian.us>
Date: 2014-07-07T17:24:08Z
Releases: 9.4.0
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

Files

PathChange+/−
contrib/pg_upgrade/info.c modified +51 −13