On 6/8/18, 1:12 PM, "Andres Freund" <and...@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 through a loop, but it's not as clean.
- 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 ... Andres Freund
- Re: pl/tcl function to detect when a request has b... Tom Lane
- Re: pl/tcl function to detect when a request h... Andres Freund
- Re: pl/tcl function to detect when a request has b... Peter Da Silva
- Re: pl/tcl function to detect when a request has b... Peter Da Silva
- Re: pl/tcl function to detect when a request h... Andres Freund
- Re: pl/tcl function to detect when a reque... Peter Da Silva