pgsql: Fix pg_upgrade for invalid indexes

Started by Bruce Momjianover 13 years ago1 messagescomitters
Jump to latest
#1Bruce Momjian
bruce@momjian.us

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.

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/97a60fa5a06bf60c857976e24ef2ed0cb882cd52

Modified Files
--------------
contrib/pg_upgrade/check.c | 91 ++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 91 insertions(+), 0 deletions(-)

--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers