Re: [HACKERS] uninterruptible state in 10beta4

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] uninterruptible state in 10beta4
Дата
Msg-id 29243.1505339508@sss.pgh.pa.us
обсуждение исходный текст
Ответ на [HACKERS] uninterruptible state in 10beta4  (Jeff Janes <jeff.janes@gmail.com>)
Список pgsql-hackers
Jeff Janes <jeff.janes@gmail.com> writes:
> In 10beta4 and 11dev, If I run the below it enters an uninterruptible
> state.  After the insert starts, I give 15 or seconds or so until the
> memory usage starts to grow due to enqueued triggers checks. Then I can't
> interrupt it with either ctrl-C in psql or kill -15 <pid> from another
> terminal.

Hm, I suspect the culprit is that the fast path out of ExecScan()
fails to include a CHECK_FOR_INTERRUPTS.  It might be best to take
the CHECK_FOR_INTERRUPTS at line 160 and put it into ExecScanFetch
instead (but if so, that function's comment could use adjustment).
Andres?
        regards, tom lane


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

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

Предыдущее
От: Jeff Janes
Дата:
Сообщение: Re: [HACKERS] uninterruptible state in 10beta4
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] uninterruptible state in 10beta4