Re: Change pg_cancel_*() to ignore current backend - Mailing list pgsql-hackers

From Andres Freund
Subject Re: Change pg_cancel_*() to ignore current backend
Date
Msg-id 20150520235641.GU27868@alap3.anarazel.de
Whole thread Raw
In response to Re: Change pg_cancel_*() to ignore current backend  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
Responses Re: Change pg_cancel_*() to ignore current backend  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
List pgsql-hackers
On 2015-05-20 18:48:59 -0500, Jim Nasby wrote:
> and generally if you want to terminate the connection there's easier
> ways to do that then "SELECT pg_terminate_backend(pg_backend_pid())".

Which would be what exactly? Say, you're inside a security definer
function.



pgsql-hackers by date:

Previous
From: Jim Nasby
Date:
Subject: Re: Change pg_cancel_*() to ignore current backend
Next
From: Jim Nasby
Date:
Subject: Re: anole: assorted stability problems