Re: Cancelling parallel query leads to segfault

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Cancelling parallel query leads to segfault
Дата
Msg-id 97146730-fc27-14ea-d15a-a322ed8cfb5c@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: Cancelling parallel query leads to segfault  (Andres Freund <andres@anarazel.de>)
Ответы Re: Cancelling parallel query leads to segfault
Список pgsql-hackers
On 2/1/18 20:35, Andres Freund wrote:
> On February 1, 2018 11:13:06 PM GMT+01:00, Peter Eisentraut
> <peter.eisentraut@2ndquadrant.com> wrote:
>>Here is a patch to implement that idea. Do you have a way to test it
>>repeatedly, or do you just randomly cancel queries?
> 
> For me cancelling the long running parallel queries I tried reliably
> triggers the issue. I encountered it while cancelling tpch q1 during JIT
> work.

Why does canceling a query result in elog(FATAL)?  It should just be
elog(ERROR), which wouldn't trigger this issue.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: [HACKERS] path toward faster partition pruning
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Cancelling parallel query leads to segfault