terminate PG connections
- From: Isabella Ghiurea <isabella(dot)ghiurea(at)nrc-cnrc(dot)gc(dot)ca>
- To: pgsql-admin(at)postgresql(dot)org
- Subject: terminate PG connections
- Date: Tue, 30 Jun 2009 11:23:17 -0700
- Message-id: <4A4A5815.3050600@nrc-cnrc.gc.ca> <text/plain>
Hello PG Users,
I would like to know if there is a "clean" way to terminate running
and idle connections inside PG db ?
( I see : pg_cancel_backend (pid) will send the connections to idle
stage but not disconnecting from db , if you have > 100 idle
connections to db and don't want to use the OS " kill " )
Thank you
Isabella
--
-----------------------------------------------------------
Isabella A. Ghiurea
Isabella(dot)Ghiurea(at)nrc-cnrc(dot)gc(dot)ca
Canadian Astronomy Data Centre | http://www1.cadc-ccda.hia-iha.nrc-cnrc.gc.ca/
National Research Council of Canada, Herzberg Institute of Astrophysics
5071 West Saanich Road, Victoria BC V9E 2E7, Canada
Phone: 250 363-3446 fax: 250 363-0045
Home |
Main Index |
Thread Index