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

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

--
Bill Moran
http://www.potentialtech.com

pgsql-general by date:

Previous
From: Ottavio Campana
Date:
Subject: shut down one database?
Next
From: Ottavio Campana
Date:
Subject: Re: shut down one database?