[BUGS] Can we force fully disconnect all client connected to localhost:5432

2009-12-30 Thread Gaurav K Srivastav
Hi, Do we have any command to forcefully disconnet each client in postgres . If we have please let me know. Gaurav Kumar Srivastava

Re: [BUGS] Can we force fully disconnect all client connected to localhost:5432

2009-12-30 Thread Craig Ringer
On 30/12/2009 2:02 PM, Gaurav K Srivastav wrote: Hi, Do we have any command to forcefully disconnet each client in postgres . If we have please let me know. In 8.4 there's pg_terminate_backend(). Prior versions don't have any truly safe method, though sending a SIGTERM to a backend is

Fwd: [BUGS] Can we force fully disconnect all client connected to localhost:5432

2009-12-30 Thread Gaurav K Srivastav
disconnect all client connected to localhost:5432 To: Craig Ringer cr...@postnewspapers.com.au Hi Craig Ringer, I am using PostgreSQL 8.3.8 on i686-redhat-linux-gnu, compiled by GCC gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-10) version. and in my case I have to drop datbase and recreate it without stop

Re: [BUGS] Can we force fully disconnect all client connected to localhost:5432

2009-12-30 Thread Robert Haas
On Wed, Dec 30, 2009 at 7:36 AM, Gaurav K Srivastav gaurav...@gmail.com wrote: Sorry Craig, I am using PostgreSQL 8.3.8 on i686-redhat-linux-gnu, compiled by GCC gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-10) version. and in my caseĀ I have to drop database and recreate it without stop/restart