Excerpts from David Christensen's message of jue may 19 00:55:36 -0400 2011:

> How would this differ from just UPDATE pg_database SET datallowconn = FALSE 
> for the databases in question?

Several ways actually.  First, it is automatically gone when the locking
session disconnects (so it clean ups after itself).  Second, it doesn't
require manually updating the catalogs, which is frowned upon (with good
reason).  Third, the database owner could do it, not just superuser.


-- 
Álvaro Herrera <alvhe...@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to