Re: compute_index_stats is missing a CHECK_FOR_INTERRUPTS

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: compute_index_stats is missing a CHECK_FOR_INTERRUPTS
Дата
Msg-id 11242.1427582224@sss.pgh.pa.us
обсуждение исходный текст
Ответ на compute_index_stats is missing a CHECK_FOR_INTERRUPTS  (Jeff Janes <jeff.janes@gmail.com>)
Ответы Re: compute_index_stats is missing a CHECK_FOR_INTERRUPTS  (Jeff Janes <jeff.janes@gmail.com>)
Список pgsql-hackers
Jeff Janes <jeff.janes@gmail.com> writes:
> Analyze on functional indexes cannot be interrupted very easily.
> ...
> The attached patch fixes it, but don't vouch for its safety.

Hm.  The other per-sample-row loops in analyze.c use vacuum_delay_point()
rather than CHECK_FOR_INTERRUPTS() directly.  Ordinarily that wouldn't
make much difference here, but maybe a slow index function might be
incurring I/O?
        regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Manipulating complex types as non-contiguous structures in-memory
Следующее
От: Petr Jelinek
Дата:
Сообщение: Re: Replication identifiers, take 4