pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rune Froysa <rune.froysa@usit.uio.no>
To: pgsql-admin@postgresql.org
Subject: Server-side killing of database connection (7.3.4)
Date: 13 Feb 2004 10:11:37 +0100
Message-ID: <svloes3jqd2.fsf@dresden.uio.no> (raw)

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



view thread (2+ messages)  latest in thread

Message-ID: <svloes3jqd2.fsf@dresden.uio.no>
Permalink:  ../svloes3jqd2.fsf@dresden.uio.no/
Also on:    postgresql.org/message-id/svloes3jqd2.fsf@dresden.uio.no

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: rune.froysa@usit.uio.no
  Subject: Re: Server-side killing of database connection (7.3.4)
  In-Reply-To: <svloes3jqd2.fsf@dresden.uio.no>
  References: <svloes3jqd2.fsf@dresden.uio.no>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox