From 19f09cb794558f0741c3dc805e34d50e06392d88 Mon Sep 17 00:00:00 2001 From: Marko Kreen Date: Wed, 16 Jul 2008 14:34:23 +0000 Subject: [PATCH] few doc cleanups --- doc/config.txt | 3 ++- doc/usage.txt | 13 +++++++++---- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/doc/config.txt b/doc/config.txt index bb0ef58..a91fab7 100644 --- a/doc/config.txt +++ b/doc/config.txt @@ -239,7 +239,8 @@ Default: SELECT 1; ==== server_lifetime ==== Pooler tries to close server connections that are been connected longer than -this. +this. Setting it to 0 means the connection is to be used only once, +then closed. Default: 3600 diff --git a/doc/usage.txt b/doc/usage.txt index 72beb4a..9d5104a 100644 --- a/doc/usage.txt +++ b/doc/usage.txt @@ -100,7 +100,8 @@ Basic setup and usage as following. -R:: Do a online restart. That means connecting to running process, loading - open sockets from it and using them. + open sockets from it and using them. If there is no active process, + boot normally. -u user:: Switch to user on startup. @@ -109,7 +110,9 @@ Basic setup and usage as following. Increase verbosity. Can be used multiple times. -q:: - Be quiet - don't log to stdout. + Be quiet - don't log to stdout. Note this does not affect + logging verbosity, only that stdout is not to be used. + For use in init.d scripts. -V:: Show version. @@ -393,12 +396,14 @@ changeable:: ==== PAUSE; ==== PgBouncer tries to disconnect from all servers, first waiting for all queries -to complete. The command will not return before all is done. +to complete. The command will not return before all is done. To be used +at the time of database restart. ==== SUSPEND; ==== All socket buffers are flushed and PgBouncer stops listening data on them. The -command will not return before all is done. +command will not return before all is done. To be used at the time of +PgBouncer restart. ==== RESUME; ==== -- 2.40.0