Re: pg_terminate_backend - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_terminate_backend
Date
Msg-id 19181.1154619545@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_terminate_backend  (Csaba Nagy <nagy@ecircle-ag.com>)
Responses Re: pg_terminate_backend
List pgsql-hackers
Csaba Nagy <nagy@ecircle-ag.com> writes:
> Now wait a minute, is there some risk of lockup if I kill a backend ?
> Cause I do that relatively often (say 20 times a day, when some web
> users time out but their query keeps running). Should I rather not do it
> ?

statement_timeout is your friend.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: ecpg test suite
Next
From: stark
Date:
Subject: Re: Standby Mode