pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Marc G. Fournier <scrappy@postgresql.org>
To: pgsql-admin@postgresql.org
Subject: lock a database from new connections, without modifying pg_hba.conf
Date: Thu, 18 May 2006 14:22:50 -0300 (ADT)
Message-ID: <20060518141816.Q1145@ganymede.hub.org> (raw)


Is that possible?  I've checked the docs for 8.1, and am not finding 
anything, nor anything in contrib ...

the best I've been able to think of so far is to modify pg_hba.conf to not 
allow new connections for the duration of the operations I need to perform 
(drop and create a database) ...

----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email: scrappy@hub.org           Yahoo!: yscrappy              ICQ: 7615664



view thread (5+ messages)  latest in thread

Message-ID: <20060518141816.Q1145@ganymede.hub.org>
Permalink:  ../20060518141816.Q1145@ganymede.hub.org/
Also on:    postgresql.org/message-id/20060518141816.Q1145@ganymede.hub.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: scrappy@postgresql.org
  Subject: Re: lock a database from new connections, without modifying pg_hba.conf
  In-Reply-To: <20060518141816.Q1145@ganymede.hub.org>
  References: <20060518141816.Q1145@ganymede.hub.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox