Re: Kill -9 for a session process caused all the sessions to be killed - Mailing list pgsql-general

From Francisco Reyes
Subject Re: Kill -9 for a session process caused all the sessions to be killed
Date
Msg-id cone.1285177701.830548.31241.1000@shelca
Whole thread Raw
In response to Kill -9 for a session process caused all the sessions to be killed  (<Atul.Goel@globaldatapoint.com>)
List pgsql-general
Atul.Goel@globaldatapoint.com writes:

> to be killed? What is the best way to kill a session in Postgres?


Just plain kill would have worked better. I believe the issue is with the
'-9'.

Also see

http://www.postgresonline.com/journal/index.php?/archives/134-Terminating-An
noying-Back-Ends.html

and

http://www.postgresql.org/docs/8.4/interactive/functions-admin.html
pg_terminate_backend(pid int)
pg_cancel_backend(pid int)

pgsql-general by date:

Previous
From: Maciek Sakrejda
Date:
Subject: Nested literal parsing rules?
Next
From: Vick Khera
Date:
Subject: Re: How about synchronous notifications?