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_2_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/759c9fb631fbb3a1d28b24979e0d512e3a571d5c
Modified Files
--------------
contrib/pg_upgrade/info.c | 61 +++++++++++++++++++++++++++++++++++++--------
1 file changed, 51 insertions(+), 10 deletions(-)