Search Postgresql Archives

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Atul.Goel@xxxxxxxxxxxxxxxxxxx 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)

--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux