Re: Ignore invalid indexes in pg_dump. - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Ignore invalid indexes in pg_dump.
Date
Msg-id 26172.1364509668@sss.pgh.pa.us
Whole thread Raw
In response to Re: Ignore invalid indexes in pg_dump.  ("anarazel@anarazel.de" <andres@anarazel.de>)
List pgsql-hackers
"anarazel@anarazel.de" <andres@anarazel.de> writes:
> 9.2 represents inisdead as live && !ready, doesn't it? So just looking at indislive will include about to be dropped
orpartially dropped indexes?
 

Ooooh ... you're right, in 9.2 (only) we need to check both indisvalid
and indisready (cf IndexIsValid() macro in the different branches).
So that's actually a bug in the committed pg_dump patch, too.  I'll fix
that shortly.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Ignore invalid indexes in pg_dump.
Next
From: Andres Freund
Date:
Subject: Re: Ignore invalid indexes in pg_dump.