Re: lock timeout patch

Поиск
Список
Период
Сортировка
От Satoshi Nagayasu
Тема Re: lock timeout patch
Дата
Msg-id 40DFA06E.5010206@noanet06.noanet.nttdata.co.jp
обсуждение исходный текст
Ответ на Re: lock timeout patch  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: lock timeout patch  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
statement_timeout terminates large sort or scan
even if it is running, doesn't it?

statement_timeout doesn't care that
the process is waiting a lock or running.
I don't want to terminate a running query.

So a lock waiting backend shold be killed.

Tom Lane wrote:
> Satoshi Nagayasu <nagayasus@nttdata.co.jp> writes:
> 
>>I guess the transaction cancellation from the client
>>using PQrequestCancel() is available, but the cancellation
>>logic must be implemented in the client-application using
>>signal or thread.
> 
> 
> Actually I think the recommended solution involves using statement_timeout.
> 
>             regards, tom lane
> 


-- 
NAGAYASU Satoshi <nagayasus@nttdata.co.jp>


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: lock timeout patch
Следующее
От: Tom Lane
Дата:
Сообщение: Re: lock timeout patch