From 4fb59627fb562ff0bb3c30a5484e93fbf4e38b6c Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Tue, 21 Jun 2011 19:37:27 -0500 Subject: [PATCH] Fix documentation typos Signed-off-by: Dan McGee --- doc/config.txt | 12 ++++++------ doc/faq.txt | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/config.txt b/doc/config.txt index c86fac0..2093428 100644 --- a/doc/config.txt +++ b/doc/config.txt @@ -253,7 +253,7 @@ Query sent to server on connection release, before making it available to other clients. At that moment no transaction is in progress so it should not include `ABORT` or `ROLLBACK`. -Good choice for Postgres 8.2 and below is: +A good choice for Postgres 8.2 and below is: server_reset_query = RESET ALL; SET SESSION AUTHORIZATION DEFAULT; @@ -268,7 +268,7 @@ Default: DISCARD ALL ==== server_check_delay ==== -How long to keep released connections available for immidiate re-use, without running +How long to keep released connections available for immediate re-use, without running sanity-check queries on it. If 0 then the query is ran always. Default: 30 @@ -375,7 +375,7 @@ Default: 2048 ==== listen_backlog ==== Backlog argument for listen(2). Determines how many new unanswered connection -attempts are kept in queue. When queue is full, futher new connections are dropped. +attempts are kept in queue. When queue is full, further new connections are dropped. Default: 128 @@ -475,7 +475,7 @@ the default_pool_size is used. ==== connect_query ==== Query to be executed after a connection is established, but before -allowingf the connection to be used by any clients. If the query raises errors, +allowing the connection to be used by any clients. If the query raises errors, they are logged but ignored otherwise. === Extra parameters === @@ -507,12 +507,12 @@ file. "username1" "password" ... "username2" "md5abcdef012342345" ... -There shoud be at least 2 fields, surrounded by double quotes. The first +There should be at least 2 fields, surrounded by double quotes. The first field is the username and the second is either a plain-text or a MD5-hashed password. PgBouncer ignores the rest of the line. This file format allows you to directly use the existing PostgreSQL -authentication files in the Postgres data directory. +authentication files in the PostgreSQL data directory. == EXAMPLE == diff --git a/doc/faq.txt b/doc/faq.txt index 062a947..03d9dc1 100644 --- a/doc/faq.txt +++ b/doc/faq.txt @@ -118,7 +118,7 @@ This will clean everything. server_reset_query = -Yes, emtpy. In transaction poooling mode the clients should not use +Yes, empty. In transaction pooling mode the clients should not use any session-based features, so there is no need to clean anything. The `server_reset_query` would only add unnecessary round-trip between transactions and would drop various caches that the next transaction -- 2.40.0