From: William Grant Date: Wed, 12 Sep 2012 10:55:36 +0000 (+1000) Subject: Document the new DISABLE/ENABLE commands. X-Git-Tag: pgbouncer_1_6_rc1~50^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=973a02aca39e71b8bb8c808665a3f99153629377;p=pgbouncer Document the new DISABLE/ENABLE commands. --- diff --git a/NEWS b/NEWS index ae0f986..57f8014 100644 --- a/NEWS +++ b/NEWS @@ -2,7 +2,8 @@ = Features = - * ENABLE/DISABLE commands to forbid or allow access to one database. + * ENABLE/DISABLE commands to forbid or allow access to one database + without affecting existing clients. = Minor Features = diff --git a/doc/usage.txt b/doc/usage.txt index 3d544cb..e8ed162 100644 --- a/doc/usage.txt +++ b/doc/usage.txt @@ -448,6 +448,14 @@ at the time of database restart. If database name is given, only that database will be paused. +==== DISABLE db; ==== + +Reject all new client connections on the given database. + +==== ENABLE db; ==== + +Allow new client connections after a previous +DISABLE+ command. + ==== KILL db; ==== Immediately drop all client and server connections on given database.