Re: Timeout parameters

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Timeout parameters
Дата
Msg-id CA+TgmoYV2B5+fe3oxRrR4hLgZDyPeBCLSyMwCdfvf_jqsc296A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Timeout parameters  (Fabien COELHO <coelho@cri.ensmp.fr>)
Ответы Re: Timeout parameters
Список pgsql-hackers
On Wed, Mar 13, 2019 at 2:05 AM Fabien COELHO <coelho@cri.ensmp.fr> wrote:
> Also, I do not see the downside of sending a cancel query before severing
> the connection. If it is not processed, too bad, but if it is then it is
> for the better.

If the network connection is dead, which is the situation the patch
intends to detect, then PQcancel() isn't going to work, but it might
still hang for a period of time or forever.  That seems like a pretty
major downside.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: ToDo: show size of partitioned table
Следующее
От: Tom Lane
Дата:
Сообщение: Re: hyrax vs. RelationBuildPartitionDesc