summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUser yamaguti2008-02-06 08:08:15 +0000
committerUser yamaguti2008-02-06 08:08:15 +0000
commitd585de7c80bd70091ff0967e43d70afbdfe460e2 (patch)
treecb1fbd026ce46b606faf329450f2a6f84c006b7b
parent9be35533d62d2857faff6aebc05363d61bafbcb4 (diff)
Updated doc/ manual and Help files due to the recent fixes
no need to update French messages :)
-rw-r--r--doc/en/config.html2
-rw-r--r--doc/en/pgconfig.html37
-rw-r--r--doc/ja/config.html2
-rw-r--r--doc/ja/pgconfig.html27
-rw-r--r--lang/en.lang.php2
-rw-r--r--lang/ja.lang.php2
-rw-r--r--templates/help/en/config.tpl2
-rw-r--r--templates/help/ja/config.tpl2
8 files changed, 53 insertions, 23 deletions
diff --git a/doc/en/config.html b/doc/en/config.html
index 31a4f95..a7c10e7 100644
--- a/doc/en/config.html
+++ b/doc/en/config.html
@@ -85,7 +85,7 @@
<tr>
<th><label>pgpool Logfile</label>
(string)</th>
- <td>The log file used when starting in non-daemon mode is specified by the full path form. If this is not specified, pgpool.log file is created in the directory specified in the logdir item of pgpool.conf.</td></tr>
+ <td>The full-path log file name OR pipe command is specified. To assign a pipe command, make sure it starts with a bar ('|'). If it is left blank and pgpool is started in non-daemon mode, "pgpool.log" file is created in the directory specified by the logdir parameter of pgpool.conf.</td></tr>
<tr>
<th><label for="PcpDir">PCP Directory</label>
diff --git a/doc/en/pgconfig.html b/doc/en/pgconfig.html
index 597c701..28965b2 100644
--- a/doc/en/pgconfig.html
+++ b/doc/en/pgconfig.html
@@ -219,9 +219,28 @@ Number of connection pools each pgpool server process are keeping. pgpool will m
<tr>
<th><label>If true timestamp is added to each log line</label>
<br>print_timestamp</th>
- <td>If true timestamp is added to each log line. Default value is true.</td>
+ <td>If true timestamp is added to each log line. The default value is true.</td>
</tr>
+ <tr>
+ <th><label>If true, print all statements to the log</label>
+
+ <br>log_statement</th>
+ <td>If true, print all statements to the log. Like the log_statement option to PostgreSQL, this allows for observing queries without engaging in full debugging. The default value is false.</td>
+ </tr>
+ <tr>
+ <th><label>If true, incoming connections will be printed to the log. The default value is false.</label>
+
+ <br>log_connections</th>
+ <td>If true, incoming connections will be printed to the log.</td>
+ </tr>
+ <tr>
+ <th><label>If true, client's hostname will be shown in ps status and in a connection log if log_connections is true</label>
+
+ <br>log_hostname</th>
+ <td>If true, incoming client's hostname will be printed in the "ps" command result. Also, if log_connections is enabled, hostname will be printed with a connection log. Be aware that hostname lookup adds some overhead, and may slow down pgpool-II.</td>
+ </tr>
+
</tbody>
<tfoot>
<tr>
@@ -420,19 +439,17 @@ automatically do the rewriting for you.
<tr>
<th><label>Run in parallel mode</label>
<br>parallel_mode</th>
- <td>When pgpool runs on parallel mode, true is specified. It is necessary to specify a partitioning rule in this case.</td>
- </tr>
- <tr>
- <th><label>If true, print all statements to the log</label>
-
- <br>log_statement</th>
- <td>If true, print all statements to the log. Like the log_statement option to PostgreSQL, this allows for observing queries without engaging in full debugging.</td>
+ <td>If true, pgpool runs in parallel mode. You must define partitioning rules to use parallel mode.</td>
</tr>
<tr>
<th><label>Perform query cache</label>
<br>enable_query_cache</th>
- <td>When the result of SELECT is cached, it makes it to true.</td>
-
+ <td>If true, allow pgpool to cache SELECT query results.</td>
+ </tr>
+ <tr>
+ <th><label>Use host-based authentication (HBA)',</label>
+ <br>enable_pool_hba</th>
+ <td>If true, incoming clients are authenticated based on the configuration written in pool_hba.conf.</td>
</tr>
</tbody>
<tfoot>
diff --git a/doc/ja/config.html b/doc/ja/config.html
index 16be173..78e728e 100644
--- a/doc/ja/config.html
+++ b/doc/ja/config.html
@@ -88,7 +88,7 @@
<th><label>pgpoolログファイル</label>
(string)</th>
- <td>非デーモンモードで起動した場合に使用するログファイルをフルパスで指定します。設定しない場合にはpgpool.confのlogdirで指定してあるパスにpgpool.logファイルを作成します。</td></tr>
+ <td>非デーモンモードで起動した場合に使用するログファイルかパイプ先を指定します。ログファイルを指定する場合はフルパスで記述します。パイプ先を指定する場合はバー("|")から記述してください。空欄の場合に非デーモンモードで起動した場合はpgpool.confのlogdirで指定してあるパスにpgpool.logというファイル名でログを作成します。</td></tr>
<tr>
<th><label>PCPディレクトリ</label>
(string)</th>
diff --git a/doc/ja/pgconfig.html b/doc/ja/pgconfig.html
index 354c720..4a421b2 100644
--- a/doc/ja/pgconfig.html
+++ b/doc/ja/pgconfig.html
@@ -253,7 +253,21 @@ TCP/IPコネクションを受け付けるアドレスをホスト名またはIP
<br>print_timestamp</th>
<td>trueならばpgpoolのログにタイムスタンプを追加します。デフォルトはtrueです。</td>
</tr>
-
+ <tr>
+ <th><label>trueならばSQL文をログ出力</label>
+ <br>log_statement</th>
+ <td>trueならばSQL文をログ出力します。この役目はPostgreSQLのlog_statementオプションと似ていて、デバッグオプションがないときでも問い合わせをログ出力して調べることができるので便利です。</td>
+ </tr>
+ <tr>
+ <th><label>trueならば受信した接続のログを出力</label>
+ <br>log_connections</th>
+ <td>trueならばクライアントから受信した接続ごとにログを出力します。デフォルトはfalseです。</td>
+ </tr>
+ <tr>
+ <th><label>trueならばクライアントのホスト名を"ps"ステータスに出力。log_connectionsがtrueであればログにも出力</label>
+ <br>log_hostname</th>
+ <td>trueならばクライアントのホスト名を"ps"コマンドの結果に出力します。またlog_connectionsが有効になっている場合、クライアントから受信した接続のログと一緒にホスト名も出力されます。ただしホスト名の探索には負荷がかかりますので、有効にする場合には注意してください。</td>
+ </tr>
</tbody>
<tfoot>
<tr>
@@ -524,16 +538,15 @@ COMMIT;
</tr>
<tr>
- <th><label>trueならばSQL文をログ出力</label>
- <br>log_statement</th>
- <td>trueならばSQL文をログ出力します。この役目はPostgreSQLのlog_statementオプションと似ていて、デバッグオプションがないときでも問い合わせをログ出力して調べることができるので便利です。</td>
- </tr>
- <tr>
-
<th><label>クエリキャッシュ機能の有効化</label>
<br>enable_query_cache</th>
<td>SELECTの結果をキャッシュする場合にはtrueにします。</td>
</tr>
+ <tr>
+ <th><label>クライアント認証(HBA)の有効化</label>
+ <br>enable_pool_hba</th>
+ <td>pool_hba.confを使ったクライアント認証機能を有効にする場合にはtrueにします。</td>
+ </tr>
</tbody>
<tfoot>
<tr>
diff --git a/lang/en.lang.php b/lang/en.lang.php
index 962779e..c004e07 100644
--- a/lang/en.lang.php
+++ b/lang/en.lang.php
@@ -49,7 +49,7 @@ $message = array(
'descListen_addresses' => 'Specifies the addresses to listen on for TCP/IP connections',
'descLoad_balance_mode' => 'Perform load balancing for SELECT',
'descLog_connections' => 'If true, incoming connections will be printed to the log',
- 'descLog_hostname' => 'If true, hostname will be shown in ps status and in connection log if log_connections is true',
+ 'descLog_hostname' => 'If true, client\'s hostname will be shown in ps status and in a connection log if log_connections is true',
'descLog_statement' => 'If true, print all statements to the log',
'descLogdir' => 'The directory name to store pgpool\'s log files',
'descMaster_slave_mode' => 'Run in master/slave mode',
diff --git a/lang/ja.lang.php b/lang/ja.lang.php
index e27a6d2..5867b43 100644
--- a/lang/ja.lang.php
+++ b/lang/ja.lang.php
@@ -49,7 +49,7 @@ $message = array(
'descListen_addresses' => 'TCP/IPコネクションを受け付けるアドレス',
'descLoad_balance_mode' => 'レプリケーションモード時にSELECT文を各ノードにロードバランス',
'descLog_connections' => 'trueならば受信した接続のログを出力',
- 'descLog_hostname' => 'trueならばホスト名を"ps"ステータスに出力。log_connectionsがtrue であればログにも出力',
+ 'descLog_hostname' => 'trueならばクライアントのホスト名を"ps"ステータスに出力。log_connectionsがtrue であればログにも出力',
'descLog_statement' => 'trueならばSQL文をログ出力',
'descLogdir' => 'pgpoolの各種ログファイルを格納するディレクトリ',
'descMaster_slave_mode' => 'マスタ/スレーブモードでpgpoolを運転',
diff --git a/templates/help/en/config.tpl b/templates/help/en/config.tpl
index cc7cfcb..91b8747 100644
--- a/templates/help/en/config.tpl
+++ b/templates/help/en/config.tpl
@@ -64,7 +64,7 @@
<tr>
<th><label>{$message.strPgpoolLogFile|escape}</label>
(string)</th>
- <td>The log file used when starting in non-daemon mode is specified by the full path form. If this is not specified, pgpool.log file is created in the directory specified in the logdir item of pgpool.conf.</td></tr>
+ <td>The full-path log file name OR pipe command is specified. To assign a pipe command, make sure it starts with a bar ('|'). If it is left blank and pgpool is started in non-daemon mode, "pgpool.log" file is created in the directory specified by the logdir parameter of pgpool.conf.</td></tr>
<tr>
<th><label for="PcpDir">{$message.strPcpDir|escape}</label>
(string)</th>
diff --git a/templates/help/ja/config.tpl b/templates/help/ja/config.tpl
index 061c68c..051da2b 100644
--- a/templates/help/ja/config.tpl
+++ b/templates/help/ja/config.tpl
@@ -67,7 +67,7 @@
<tr>
<th><label>{$message.strPgpoolLogFile|escape}</label>
(string)</th>
- <td>非デーモンモードで起動した場合に使用するログファイルをフルパスで指定します。設定しない場合にはpgpool.confのlogdirで指定してあるパスにpgpool.logファイルを作成します。</td></tr>
+ <td>非デーモンモードで起動した場合に使用するログファイルかパイプ先を指定します。ログファイルを指定する場合はフルパスで記述します。パイプ先を指定する場合はバー("|")から記述してください。空欄の場合に非デーモンモードで起動した場合はpgpool.confのlogdirで指定してあるパスにpgpool.logというファイル名でログを作成します。</td></tr>
<tr>
<th><label>{$message.strPcpDir|escape}</label>
(string)</th>