Re: How to disconnect a single user in Postgresql 8.2.5 from a database - Mailing list pgsql-admin

From Scott Marlowe
Subject Re: How to disconnect a single user in Postgresql 8.2.5 from a database
Date
Msg-id m2wdcc563d11004200729ze7e8b6bfu63b0ffc94b7d9eb5@mail.gmail.com
Whole thread Raw
In response to Re: How to disconnect a single user in Postgresql 8.2.5 from a database  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: How to disconnect a single user in Postgresql 8.2.5 from a database  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin
On Tue, Apr 20, 2010 at 7:31 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Scott Marlowe <scott.marlowe@gmail.com> writes:
>> On Mon, Apr 19, 2010 at 8:10 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>>> The reason the function isn't there before 8.4 is that that's not
>>> promised to work before 8.4 ... most of the time it will work, but
>>> once in awhile you could get nasty side-effects.
>
>> So, pg_cancel_backend(pid) is the 8.3 version, that may or may not
>> always work then, right?
>
> No, I didn't say that.

Well, my experience with it has been that it's similar and it doesn't
always work.

pgsql-admin by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Vacuum Full (PG 8.1) - Urgent help needed - Cancel & transaction "liberation"
Next
From: Scott Marlowe
Date:
Subject: Re: How to disconnect a single user in Postgresql 8.2.5 from a database