Re: pg_upgrade problem with invalid indexes - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_upgrade problem with invalid indexes
Date
Msg-id 9082.1354849573@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_upgrade problem with invalid indexes  (Stephen Frost <sfrost@snowman.net>)
Responses Re: pg_upgrade problem with invalid indexes  (Bruce Momjian <bruce@momjian.us>)
Re: pg_upgrade problem with invalid indexes  (Stephen Frost <sfrost@snowman.net>)
List pgsql-hackers
Stephen Frost <sfrost@snowman.net> writes:
> * Andrew Dunstan (andrew@dunslane.net) wrote:
>> Making the user fix it seems much more sensible to me. Otherwise I
>> suspect we'll find users who get strangely surprised when they can
>> no longer find any trace of an expected index in their upgraded
>> database.

> Or preserve it as-is.

To do that, we would have to add an option to CREATE INDEX to create it
in an invalid state.  Which is stupid...
        regards, tom lane



pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: pg_upgrade problem with invalid indexes
Next
From: Bruce Momjian
Date:
Subject: Re: pg_upgrade problem with invalid indexes