Re: Long running query - connection and keepalives enabled but querynot canceled - Mailing list pgsql-general

From Dmitry Vasiliev
Subject Re: Long running query - connection and keepalives enabled but querynot canceled
Date
Msg-id 1AD6C7F4-2062-437A-8478-9E505F3879D3@coins.ph
Whole thread Raw
In response to Long running query - connection and keepalives enabled but query notcanceled  (Tomasz Ostrowski <tometzky+pg@ato.waw.pl>)
Responses Re: Long running query - connection and keepalives enabled but querynot canceled
List pgsql-general
Tomasz Ostrowski wrote:

The database would get an error on the connection socket only after it tries to read or write to it next time. But it does not try to do this - it's busy counting those quarks until statement_timeout is reached.


It is unfortunate that PostgreSQL does not take into account that the client has disconnected and does not need to process query.
I know only one non-stable utility that can solve your problem: https://github.com/yandex/odyssey (unfortunately pgbouncer can't do that).

-- 
Dmitry Vasiliev

pgsql-general by date:

Previous
From: Prakash Ramakrishnan
Date:
Subject: pg_repack issue
Next
From: Peter Eisentraut
Date:
Subject: Re: pg_repack issue