Re: Ignore invalid indexes in pg_dump.

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: Ignore invalid indexes in pg_dump.
Дата
Msg-id
24824.1364506685@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
Re: Ignore invalid indexes in pg_dump. "anarazel@anarazel.de" <andres@anarazel.de>
Re: Ignore invalid indexes in pg_dump. Bruce Momjian <bruce@momjian.us>
Re: Ignore invalid indexes in pg_dump. Andres Freund <andres@2ndquadrant.com>
Re: Ignore invalid indexes in pg_dump. Tom Lane <tgl@sss.pgh.pa.us>
"anarazel@anarazel.de"  writes:
> Tom Lane  schrieb:
>> Yeah, if you can just ignore !indisvalid indexes that should work fine.
>> I see no need to look at indisready if you're doing that.

> You need to look at inisready in 9.2 since thats used for about to be dropped indexes. No?

No, he doesn't need to look at indisready/indislive; if either of those
flags are off then indisvalid should certainly be off too.  (If it
isn't, queries against the table are already in trouble.)
		regards, tom lane


В списке pgsql-hackers по дате отправления
От: Bruce Momjian
Дата:
От: anarazel@anarazel.de
Дата:
FAQ