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

From: Francisco Reyes <lists(at)stringsutils(dot)com>
To: Atul(dot)Goel(at)globaldatapoint(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Kill -9 for a session process caused all the sessions to be killed
Date: 2010-09-22 17:48:21
Message-ID: cone.1285177701.830548.31241.1000@shelca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Atul(dot)Goel(at)globaldatapoint(dot)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)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Vick Khera 2010-09-22 18:58:07 Re: How about synchronous notifications?
Previous Message Maciek Sakrejda 2010-09-22 17:36:02 Nested literal parsing rules?