]> granicus.if.org Git - postgresql/commit
Fix pg_upgrade for invalid indexes
authorBruce Momjian <bruce@momjian.us>
Tue, 11 Dec 2012 20:09:22 +0000 (15:09 -0500)
committerBruce Momjian <bruce@momjian.us>
Tue, 11 Dec 2012 20:09:22 +0000 (15:09 -0500)
commit33be41d3adcf8bd272303e0f5dcc4ec41051f141
treeee88dba1baf25c3413bfbe6ad784b93288c4fe6d
parent5840e3181b7e6c784fdb3aff708c4dcc2dfe551d
Fix pg_upgrade for invalid indexes

All versions of pg_upgrade upgraded invalid indexes caused by CREATE
INDEX CONCURRENTLY failures and marked them as valid.  The patch adds a
check to all pg_upgrade versions and throws an error during upgrade or
--check.

Backpatch to 9.2, 9.1, 9.0.  Patch slightly adjusted.
contrib/pg_upgrade/check.c