Skip site navigation (1) Skip section navigation (2)

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: (view raw or whole 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

In response to


pgsql-general by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group