$pgpoolConfigParam[$key]['type'] ='B';
$pgpoolConfigParam[$key]['default'] =false;
+$key = 'log_connections';
+$pgpoolConfigParam[$key]['type'] = 'B';
+$pgpoolConfigParam[$key]['default'] = false;
+
+$key = 'log_hostname';
+$pgpoolConfigParam[$key]['type'] = 'B';
+$pgpoolConfigParam[$key]['default'] = false;
+
$key = 'log_statement';
$pgpoolConfigParam[$key]['type'] ='B';
$pgpoolConfigParam[$key]['default'] =false;
$pgpoolConfigParam[$key]['type'] ='B';
$pgpoolConfigParam[$key]['default'] =false;
+$key = 'enable_pool_hba';
+$pgpoolConfigParam[$key]['type'] ='B';
+$pgpoolConfigParam[$key]['default'] =false;
+
$key = 'system_db_hostname';
$pgpoolConfigParam[$key]['type'] ='C';
$pgpoolConfigParam[$key]['default'] ='system_db_hostname';
'descAuthentication_timeout' => 'Maximum time in seconds to complete client authentication',
'descConnection_cache' => 'If true, cache connections to PostgreSQL',
'descConnection_life_time' => 'Life time for each idle connection in seconds',
+ 'descEnable_pool_hba' => 'Use host-based authentication',
'descEnable_query_cache' => 'Perform query cache',
'descFailover_command' => 'Command to be executed when detaching a node',
'descFailback_command' => 'Command to be executed when attaching a node',
'descInsert_lock' => ' If you replicate a table having SERIAL data type column, sometimes the serial value does not match between servers',
'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_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',
'e3005' => 'The SQL error occurred when DELETE was executed',
'e3006' => 'pgpool.conf not found.',
'e4001' => 'pgpool.conf not found.',
- 'e4002' => 'It is not possible to read to pgpool.conf. ',
- 'e4003' => 'It is not possible to write to pgpool.conf. ',
+ 'e4002' => 'Could not read from pgpool.conf. ',
+ 'e4003' => 'Could not write to pgpool.conf. ',
'e5001' => 'pgmgt.conf.php not found.',
- 'e5002' => 'It is not possible to read to pgmgt.conf.php.',
- 'e5003' => 'It is not possible to write to pgmgt.conf.php.',
+ 'e5002' => 'Could not read from pgmgt.conf.php.',
+ 'e5003' => 'Coult not write to pgmgt.conf.php.',
'e6001' => 'pcp.conf not found.',
- 'e6002' => 'It is not possible to read to pcp.conf. ',
- 'e6003' => 'It is not possible to write to pcp.conf. ',
+ 'e6002' => 'Could not read from pcp.conf. ',
+ 'e6003' => 'Could not write to pcp.conf. ',
'e7001' => 'pcp.conf not found.',
'e8001' => 'Detailed information cannot be acquired.',
'descAuthentication_timeout' => 'Durée maximum en secondes pour terminer l\'authentification du client',
'descConnection_cache' => 'Si vrai, met en cache les connexions vers PostgreSQL',
'descConnection_life_time' => 'Durée de vie de chaque connexion inutilisée en secondes',
+ 'descEnable_pool_hba' => 'Use host-based authentication',
'descEnable_query_cache' => 'Mettre en place un cache des requêtes',
'descFailover_command' => 'Commande à exécuter lors du détachement d\'un noeud',
'descFailback_command' => 'Commande à exécuter lors de l\'attachement d\'un noeud',
'descInsert_lock' => ' Si vous répliquez une table possédant une colonne de type SERIAL, quelque fois, la valeur de serial ne sera pas identique parmi les serveurs',
'descListen_addresses' => 'Spécifie les adresses à écouter pour les connexions TCP/IP',
'descLoad_balance_mode' => 'Réalise une répartition de charge pour les requêtes 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_statement' => 'Si vrai, trace toutes les requêtes dans les journaux',
'descLogdir' => 'Le nom du répertoire où stocker les journaux de pgpool',
'descMaster_slave_mode' => 'Exécuter le mode maître/esclave',
'descAuthentication_timeout' => 'クライアント認証のタイムアウト時間(秒)',
'descConnection_cache' => 'コネクションをキャッシュ',
'descConnection_life_time' => 'コネクションプール中のコネクションの有効期間(秒)',
- 'descEnable_query_cache' => 'クエリキャッシュ機能の有効化',
+ 'descEnable_pool_hba' => 'クライアント認証機能を有効にする',
+ 'descEnable_query_cache' => 'クエリキャッシュ機能を有効にする',
'descFailover_command' => 'ノード切り離し時に起動するコマンド',
'descFailback_command' => 'ノード復帰時に起動するコマンド',
'descHealth_check_period' => 'ヘルスチェックを行う間隔(秒)',
'descInsert_lock' => '自動的にトランザクションの開始,テーブルロック,トランザクションの終了',
'descListen_addresses' => 'TCP/IPコネクションを受け付けるアドレス',
'descLoad_balance_mode' => 'レプリケーションモード時にSELECT文を各ノードにロードバランス',
+ 'descLog_connections' => 'trueならば受信した接続のログを出力',
+ 'descLog_hostname' => 'trueならばホスト名を"ps"ステータスに出力。log_connectionsがtrue であればログにも出力',
'descLog_statement' => 'trueならばSQL文をログ出力',
'descLogdir' => 'pgpoolの各種ログファイルを格納するディレクトリ',
'descMaster_slave_mode' => 'マスタ/スレーブモードでpgpoolを運転',
'e3006' => 'pgpool.confが見つかりません',
'e4001' => 'pgpool.confが見つかりません',
'e4002' => 'pgpool.confから読み込みができません',
- 'e4003' => 'pgpool.confiに書き込みができません',
+ 'e4003' => 'pgpool.confに書き込みができません',
'e5001' => 'pgmgt.conf.phpが見つかりません',
'e5002' => 'pgmgt.conf.phpから読み込みができません',
'e5003' => 'pgmgt.conf.phpに書き込みができません',
<td><input type="checkbox" name="print_timestamp" id="print_timestamp" value="true" checked="checked" /></td>
{else}
<td><input type="checkbox" name="print_timestamp" id="print_timestamp" value="false" /></td>
- {/if} </tr>
+ {/if}
+ </tr>
+ <tr> {if $error.log_statement != null}
+ <th class="error"><label>{$message.descLog_statement|escape}</label>
+ <br />log_statement</th>
+ {else}
+ <th><label>{$message.descLog_statement|escape}</label>
+ <br />log_statement</th>
+ {/if}
+ {if $params.log_statement == 'true'}
+ <td><input type="checkbox" name="log_statement" id="log_statement" value="true" checked="checked" /></td>
+ {else}
+ <td><input type="checkbox" name="log_statement" id="log_statement" value="false" /></td>
+ {/if}
+ </tr>
+ <tr> {if $error.log_connections != null}
+ <th class="error"><label>{$message.descLog_connections|escape}</label>
+ <br />log_connections</th>
+ {else}
+ <th><label>{$message.descLog_connections|escape}</label>
+ <br />log_connections</th>
+ {/if}
+ {if $params.log_connections == 'true'}
+ <td><input type="checkbox" name="log_connections" id="log_connections" value="true" checked="checked" /></td>
+ {else}
+ <td><input type="checkbox" name="log_connections" id="log_connections" value="false" /></td>
+ {/if}
+ </tr>
+ <tr> {if $error.log_hostname != null}
+ <th class="error"><label>{$message.descLog_hostname|escape}</label>
+ <br />log_hostname</th>
+ {else}
+ <th><label>{$message.descLog_hostname|escape}</label>
+ <br />log_hostname</th>
+ {/if}
+ {if $params.log_hostname == 'true'}
+ <td><input type="checkbox" name="log_hostname" id="log_hostname" value="true" checked="checked" /></td>
+ {else}
+ <td><input type="checkbox" name="log_hostname" id="log_hostname" value="false" /></td>
+ {/if}
+ </tr>
</tbody>
</table>
<h3><a name="replication" id="replication">Replication</a></h3>
{else}
<td><input type="checkbox" name="ignore_leading_white_space" id="ignore_leading_white_space" value="false" /></td>
{/if} </tr>
- <tr> {if $error.log_statement != null}
- <th class="error"><label>{$message.descLog_statement|escape}</label>
- <br />log_statement</th>
- {else}
- <th><label>{$message.descLog_statement|escape}</label>
- <br />log_statement</th>
- {/if}
- {if $params.log_statement == 'true'}
- <td><input type="checkbox" name="log_statement" id="log_statement" value="true" checked="checked" /></td>
- {else}
- <td><input type="checkbox" name="log_statement" id="log_statement" value="false" /></td>
- {/if} </tr>
<tr> {if $error.parallel_mode != null}
<th class="error"><label>{$message.descParallel_mode|escape}</label>
<br />parallel_mode</th>
{else}
<td><input type="checkbox" name="enable_query_cache" id="enable_query_cache" /></td>
{/if} </tr>
+ <tr> {if $error.enable_pool_hba != null}
+ <th class="error"><label>{$message.descEnable_pool_hba|escape}</label>
+ <br />enable_pool_hba</th>
+ {else}
+ <th><label>{$message.descEnable_pool_hba|escape}</label>
+ <br />enable_pool_hba</th>
+ {/if}
+ {if $params.enable_pool_hba == 'true'}
+ <td><input type="checkbox" name="enable_pool_hba" id="enable_pool_hba" checked="checked" /></td>
+ {else}
+ <td><input type="checkbox" name="enable_pool_hba" id="enable_pool_hba" /></td>
+ {/if} </tr>
<tr> {if $error.failover_command != null}
<th class="error"><label>{$message.descFailover_command|escape}</label>
<br />failover_command (string)</th>