Re: Broken HOT chains in system catalogs

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Broken HOT chains in system catalogs
Дата
Msg-id 23926.1302973480@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Broken HOT chains in system catalogs  (Noah Misch <noah@leadboat.com>)
Список pgsql-hackers
Noah Misch <noah@leadboat.com> writes:
> On Sat, Apr 16, 2011 at 11:17:53AM -0400, Tom Lane wrote:
>> [ squint... ] Won't that result in the rebuild failing outright?  We
>> can't remove an index from the pending list till after it's rebuilt,
>> for obvious reasons.

> That would be a problem if an ambuild function were to call back through the
> indexam.c layer to add an individual entry.  No core access method does that,
> and there's nothing I can see to recommend doing it.

Oh ... hm, I was thinking that ambuild calls were also validated using
that macro, but now I see they're not even done in this file.  So it
probably does work to do it like that.  It needs rather more than no
commentary, though.
        regards, tom lane


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

Предыдущее
От: Leonardo Francalanci
Дата:
Сообщение: Re: switch UNLOGGED to LOGGED
Следующее
От: Noah Misch
Дата:
Сообщение: Re: Bizarre reindex_relation API