Re: delete DB with connection destroy?

From: Cedric BUSCHINI <cbuschini(at)carax(dot)com>
To: Nikolai Cheltsov <begimot(at)gmail(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: delete DB with connection destroy?
Date: 2007-10-24 15:43:13
Message-ID: 471F6811.4000804@carax.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Nikolai Cheltsov a écrit :
> Hi,
>
> Is there a possibility to delete a DB, when there are still
> connections to it? Something like force delete. Delete and if there
> are connections, kill them!
>
> Regards,
> Nikolay Cheltsov
Hi,

Why don't you force the deconnexion stopping the database with 'pg_ctl
stop -D $PGDATA -m fast' and restart it in single-mode ?

Ced.

--

Cedric BUSCHINI
- CARAX -
IT Department

Phone : + 33 1 4006 9864
fax : + 33 1 4006 9865

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message G. J. Walsh 2007-10-24 23:44:20 readline library not found
Previous Message Nikolai Cheltsov 2007-10-24 15:16:00 delete DB with connection destroy?