Re: in transaction - safest way to kill - Mailing list pgsql-general

From Fujii Masao
Subject Re: in transaction - safest way to kill
Date
Msg-id 3f0b79eb0812052003v2a9436a1qfef600333a508b0a@mail.gmail.com
Whole thread Raw
In response to Re: in transaction - safest way to kill  (Glyn Astill <glynastill@yahoo.co.uk>)
List pgsql-general
On Fri, Dec 5, 2008 at 11:25 PM, Glyn Astill <glynastill@yahoo.co.uk> wrote:
>
> select pg_cancel_backend(<pid>);

No, pg_cancel_backend() cancels only *query*, and doesn't kill idle
in transaction. I think that killing the backend (idle in transaction) with
SIGTERM is better way.

Regards,

--
Fujii Masao
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center

pgsql-general by date:

Previous
From: Devrim GÜNDÜZ
Date:
Subject: Re: Favorite Tom Lane quotes
Next
From: "hendra kusuma"
Date:
Subject: