Re: Assert failure when rechecking an exclusion constraint

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Assert failure when rechecking an exclusion constraint
Дата
Msg-id 2134.1307327586@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Assert failure when rechecking an exclusion constraint  (Noah Misch <noah@leadboat.com>)
Список pgsql-hackers
Noah Misch <noah@leadboat.com> writes:
> On Sun, Jun 05, 2011 at 02:17:00PM -0400, Tom Lane wrote:
>> Attached are two versions of a patch to fix this.  The second one
>> modifies the code that tracks what's "pending" as per the above thought.
>> I'm not entirely sure which one I like better ... any comments?

> +1 for the second approach.  It had bothered me that SetReindexProcessing() and
> ResetReindexProcessing() manipulated one thing, but ReindexIsProcessingIndex()
> checked something else besides.  (That's still technically true, but the overall
> effect seems more natural.)

OK, done that way.
        regards, tom lane


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

Предыдущее
От: Jeff Davis
Дата:
Сообщение: Re: Assert failure when rechecking an exclusion constraint
Следующее
От: Robert Haas
Дата:
Сообщение: Re: reducing the overhead of frequent table locks - now, with WIP patch