Add comment to the document about connection_cache.
authorTatsuo Ishii <[email protected]>
Sat, 27 Aug 2016 08:22:26 +0000 (17:22 +0900)
committerTatsuo Ishii <[email protected]>
Sat, 27 Aug 2016 08:24:41 +0000 (17:24 +0900)
Mention that connections to template0, template1, postgres and
regression databases are not cached even if connection_cache is on.

doc/pgpool-en.html
doc/pgpool-ja.html

index 52c2b31703a5598bb9fffd7852556f842e247546..7db1d5b0a9fb4d9de794b4a86971bd3bcb778ad4 100644 (file)
@@ -858,7 +858,10 @@ local0.*    /var/log/pgpool.log
 <dl>
 <dt><a name="CONNECTION_CACHE"></a>connection_cache</dt>
     <dd>
-    <p>Caches connections to backends when set to true. Default is true.
+    <p>Caches connections to backends when set to on. Default is true.
+      However, connections to template0, template1, postgres and
+      regression databases are not cached even if connection_cache is
+      on.
     </p>
     <p>
     You need to restart pgpool-II if you change this value.</p>
index ca8865b0bcae28ce3713bf5cf8bc67a0d9399578..1dcbd5e33773e794649d7abafe0a41d5778e042c 100644 (file)
@@ -892,7 +892,9 @@ local0.*    /var/log/pgpool.log
 <dt><a name="CONNECTION_CACHE"></a>connection_cache</dt>
     <dd>
     <p>
-    trueならPostgreSQLへのコネクションをキャッシュします。デフォルトはtrueです。
+    trueならPostgreSQLへのコネクションをキャッシュします。デフォルトはonです。
+    ただし、connection_cacheがonでも、template0、template1、postgres、
+    regression データベースへの接続はキャッシュされません。
     </p>
     <p>
     このパラメータを変更した時には pgpool-II を再起動してください。