Server-side killing of database connection (7.3.4) - Mailing list pgsql-admin

From Rune Froysa
Subject Server-side killing of database connection (7.3.4)
Date
Msg-id svloes3jqd2.fsf@dresden.uio.no
Whole thread Raw
Responses SSH connection timing out  ("Jeremy Smith" <jer@highboard.com>)
Re: Server-side killing of database connection (7.3.4)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin
I need to kill a connected database user.  I'm able to find the pid
associated with the troublesome user.  However, if I try killing the
process with any of INT, TERM or QUIT, all connected database users
get the message:

   WARNING:  Message from PostgreSQL backend:
           The Postmaster has informed me that some other backend
           died abnormally and possibly corrupted shared memory.
           I have rolled back the current transaction and am
           going to terminate your database system connection and exit.
           Please reconnect to the database system and repeat your query.

Is it possible to kill a connected user without shuting down the
database?  I.e. something like "alter system kill session" in oracle.

Regards,
Rune Frøysa

pgsql-admin by date:

Previous
From: hehe88hk@yahoo.com.hk (Eric)
Date:
Subject: forcing SSL
Next
From: Victor Sudakov
Date:
Subject: Re: getting postgresql-7.4.1 statistics