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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: shut down one database?



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



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group