Re: shut down one database?

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

Bill Moran wrote:
> 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?

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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Allison 2007-05-31 23:44:55 left outer join and values()
Previous Message Bill Moran 2007-05-31 23:26:24 Re: shut down one database?