Re: pl/tcl function to detect when a request has been canceled

Поиск
Список
Период
Сортировка
От Peter Da Silva
Тема Re: pl/tcl function to detect when a request has been canceled
Дата
Msg-id C82A8B79-027A-4A6D-89FE-5859C240A409@flightaware.com
обсуждение исходный текст
Ответ на Re: pl/tcl function to detect when a request has been canceled  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On 6/8/18, 1:12 PM, "Andres Freund" <andres@anarazel.de> wrote:
    I'm not terribly opposed to this, but I wonder if the much more
    pragmatic solution is to just occasionally call a database function that
    checks this?  You could just run SELECT 1 occasionally :/
    
That seems to work, and I suppose in most cases the overhead could be mitigated by only calling it every N times
througha loop, but it's not as clean.  
 


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Performance regression with PostgreSQL 11 and partitioning
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Performance regression with PostgreSQL 11 and partitioning