Re: CHECK_FOR_INTERRUPTS in spgdoinsert() isn't helpful

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: CHECK_FOR_INTERRUPTS in spgdoinsert() isn't helpful
Дата
Msg-id 16847.1401396151@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: CHECK_FOR_INTERRUPTS in spgdoinsert() isn't helpful  (Peter Geoghegan <pg@heroku.com>)
Ответы Re: CHECK_FOR_INTERRUPTS in spgdoinsert() isn't helpful
Список pgsql-hackers
Peter Geoghegan <pg@heroku.com> writes:
> On Thu, May 29, 2014 at 1:34 PM, Heikki Linnakangas
> <hlinnakangas@vmware.com> wrote:
>> Also checking that CritSectionCount == 0 seems like a good idea...

> What do you do if it isn't?

Not throw the error.  (If we did, it'd turn into a PANIC, which doesn't
seem like what we want.)
        regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: CHECK_FOR_INTERRUPTS in spgdoinsert() isn't helpful
Следующее
От: Claudio Freire
Дата:
Сообщение: Re: Extended Prefetching using Asynchronous IO - proposal and patch