pgsql: Fix pg_upgrade for invalid indexes

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix pg_upgrade for invalid indexes
Date: 2012-12-11 20:09:31
Message-ID: E1TiW8x-0001CK-Ld@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/744358005c49238b2abc62f69fe84e5440ffde0f

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

Browse pgsql-committers by date

  From Date Subject
Next Message Kevin Grittner 2012-12-11 20:35:09 pgsql: Fix performance problems with autovacuum truncation in busy work
Previous Message Heikki Linnakangas 2012-12-11 16:59:39 pgsql: Consistency check should compare last record replayed, not last