]> granicus.if.org Git - postgresql/commit
pg_upgrade: allow upgrades for new-only TOAST tables
authorBruce Momjian <bruce@momjian.us>
Mon, 7 Jul 2014 17:24:08 +0000 (13:24 -0400)
committerBruce Momjian <bruce@momjian.us>
Mon, 7 Jul 2014 17:24:08 +0000 (13:24 -0400)
commit3088cc37044a303fc50857d8d9e7e44b5c250642
tree49b5d89825bdaa57a22d3ae7c7fb5fa2dc79a607
parent4cbd12832839830fe58bb5d9d4ba7e2ec84952ce
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
contrib/pg_upgrade/info.c