Re: How to disconnect a single user in Postgresql 8.2.5 from a database

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Josh Kupershmidt <schmiddy(at)gmail(dot)com>, Sergey Konoplev <gray(dot)ru(at)gmail(dot)com>, Steph L <engel306sl(at)yahoo(dot)fr>, pgsql-admin(at)postgresql(dot)org
Subject: Re: How to disconnect a single user in Postgresql 8.2.5 from a database
Date: 2010-04-20 14:29:08
Message-ID: m2wdcc563d11004200729ze7e8b6bfu63b0ffc94b7d9eb5@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Tue, Apr 20, 2010 at 7:31 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com> writes:
>> On Mon, Apr 19, 2010 at 8:10 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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.

In response to

Responses

Browse pgsql-admin by date

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