Re: Kill session in PostgreSQL

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Ashish Karalkar <ashish_postgre(at)yahoo(dot)co(dot)in>
Cc: pggeneral <pgsql-general(at)postgresql(dot)org>
Subject: Re: Kill session in PostgreSQL
Date: 2007-04-10 12:48:59
Message-ID: 20070410124859.GD31734@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Apr 10, 2007 at 01:01:30PM +0100, Ashish Karalkar wrote:
> Hello all,
> is there any command just like ORACLE Uses kill session to kill a particular session .
> tried withh linux kill -9 PID but it also kills all other sessions or am I just giving wrong signal to command kill?

Uhh, yeah. Kill -9 is bad. The documentation talks about signals but in
general you can use kill -INT to abort a query.

Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Magnus Hagander 2007-04-10 12:54:55 Re: [GENERAL] programmatic way to fetch latest release for a given major.minor version
Previous Message Ardian Xharra 2007-04-10 12:46:20 Re: Kill session in PostgreSQL