Re: Ignore invalid indexes in pg_dump.

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Ignore invalid indexes in pg_dump.
Дата
Msg-id 20130328215408.GF2126@momjian.us
обсуждение исходный текст
Ответ на Re: Ignore invalid indexes in pg_dump.  ("anarazel@anarazel.de" <andres@anarazel.de>)
Ответы Re: Ignore invalid indexes in pg_dump.  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-hackers
On Thu, Mar 28, 2013 at 10:47:55PM +0100, anarazel@anarazel.de wrote:
>
>
> Tom Lane <tgl@sss.pgh.pa.us> schrieb:
>
> >"anarazel@anarazel.de" <andres@anarazel.de> writes:
> >> Tom Lane <tgl@sss.pgh.pa.us> 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.)
>
> 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?

Where do you see 'inisdead' defined?

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + It's impossible for everything to be true. +



В списке pgsql-hackers по дате отправления:

Предыдущее
От: "anarazel@anarazel.de"
Дата:
Сообщение: Re: Ignore invalid indexes in pg_dump.
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Ignore invalid indexes in pg_dump.