Joshua D. Drake wrote:
> Ottavio Campana wrote:
>> Bill Moran wrote:
>>> Ottavio Campana <[EMAIL PROTECTED]> wrote:
>>>> I have postgresql running several databases. I can stop them all by
>>>> stopping postgresql, but sometimes I'd like to shut down a single
>>>> database.
>>>>
>>>> Can I get the same effect of stopping postgresql for only one database?
>>> You can tweak pg_hba.conf to disallow all access to that particular
>>> database.  Will that accomplish what you want?
>>
>> well, that would be only a part: I'd also like to stop all the processes
>> related to that db. Sometimes I have some connection I'd like to close...
> 
> set datallowconn to false in pg_database;

does it shut down the already existing ones?

-- 
Non c'e' piu' forza nella normalita', c'e' solo monotonia.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to