Re: Ignore invalid indexes in pg_dump.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "anarazel(at)anarazel(dot)de" <andres(at)anarazel(dot)de>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: Ignore invalid indexes in pg_dump.
Date: 2013-03-28 22:27:48
Message-ID: 26172.1364509668@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

"anarazel(at)anarazel(dot)de" <andres(at)anarazel(dot)de> writes:
> 9.2 represents inisdead as live && !ready, doesn't it? So just looking at indislive will include about to be dropped or partially 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

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2013-03-28 22:37:23 Re: Ignore invalid indexes in pg_dump.
Previous Message Andres Freund 2013-03-28 22:08:07 Re: Ignore invalid indexes in pg_dump.

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2013-03-28 22:37:23 Re: Ignore invalid indexes in pg_dump.
Previous Message Andres Freund 2013-03-28 22:08:07 Re: Ignore invalid indexes in pg_dump.