]> granicus.if.org Git - pgbouncer/commitdiff
Document the new DISABLE/ENABLE commands.
authorWilliam Grant <william.grant@canonical.com>
Wed, 12 Sep 2012 10:55:36 +0000 (20:55 +1000)
committerWilliam Grant <william.grant@canonical.com>
Wed, 12 Sep 2012 10:55:36 +0000 (20:55 +1000)
NEWS
doc/usage.txt

diff --git a/NEWS b/NEWS
index ae0f986a3dc99a2553d19b4bb0aa420762169b37..57f801495a1a6d7e671ac52982555f4603e20722 100644 (file)
--- 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 =
 
index 3d544cb00865d84b0f91fb1856c2dbcdc014d3c9..e8ed162ef4d2a9ae863427daa5e1cbbfe9a3cd0f 100644 (file)
@@ -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.