Re: shut down one database?

From: Bill Moran <wmoran(at)potentialtech(dot)com>
To: Ottavio Campana <ottavio(at)campana(dot)vi(dot)it>
Cc: pgsql-general General <pgsql-general(at)postgresql(dot)org>
Subject: Re: shut down one database?
Date: 2007-05-31 23:26:24
Message-ID: 20070531192624.db709160.wmoran@potentialtech.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Ottavio Campana <ottavio(at)campana(dot)vi(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ottavio Campana 2007-05-31 23:37:29 Re: shut down one database?
Previous Message Ottavio Campana 2007-05-31 23:23:13 shut down one database?