Re: shut down one database? - Mailing list pgsql-general

From Ottavio Campana
Subject Re: shut down one database?
Date
Msg-id 465F5C39.2050705@campana.vi.it
Whole thread Raw
In response to Re: shut down one database?  (Bill Moran <wmoran@potentialtech.com>)
Responses Re: shut down one database?
List pgsql-general
Bill Moran wrote:
> Ottavio Campana <ottavio@campana.vi.it> 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...

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


Attachment

pgsql-general by date:

Previous
From: Bill Moran
Date:
Subject: Re: shut down one database?
Next
From: Tom Allison
Date:
Subject: left outer join and values()