$pgpoolConfigParam[$key]['type'] ='B';
$pgpoolConfigParam[$key]['default'] =false;
+$key = 'replicate_select';
+$pgpoolConfigParam[$key]['type'] ='B';
+$pgpoolConfigParam[$key]['default'] =false;
+
$key = 'reset_query_list';
$pgpoolConfigParam[$key]['type'] ='C';
$pgpoolConfigParam[$key]['default'] ='ABORT; RESET ALL; SET SESSION AUTHORIZATION DEFAULT';
'descRecovery_password' => 'PostgreSQL user password for online recovery',
'descReplication_mode' => 'Set this to true if you are going to use replication functionality',
'descReplication_stop_on_mismatch' => 'Stop replication mode on data mismatch between master and secondary',
+ 'descReplicate_select' => 'If true, replicate SELECT queries. If false, send only to maseter ',
'descReplication_strict' => 'If true, pgpool will wait for the completion of the master query before sending a query to the secondary server',
'descReplication_timeout' => 'In non strict replication mode, there will be a risk of deadlock',
'descReset_query_list' => 'Semicolon separated SQL commands to be issued at the end of session',
'descRecovery_password' => 'リカバリを行うためのPostgreSQLユーザパスワード',
'descReplication_mode' => 'レプリケーションモードの有効化',
'descReplication_stop_on_mismatch' => 'trueを指定するとマスタとセカンダリの間でデータの不一致があった場合に強制的に縮退運転',
+ 'descReplicate_select' => 'true ならば SELECT をレプリケーションし、false ならばマスタにのみ送信',
'descReplication_strict' => 'masterの問い合わせ処理の完了を待ってからsecondaryの処理',
'descReplication_timeout' => 'replication_strictがfalseのときにデッドロックを監視するためのタイムアウト時間',
'descReset_query_list' => 'セッションが終了するときにコネクションを初期化するためのSQLコマンド',
{else}
<td><input type="checkbox" name="replication_stop_on_mismatch" id="replication_stop_on_mismatch" value="false" /></td>
{/if} </tr>
+ <tr> {if $error.replicate_select != null}
+ <th class="error"><label>{$message.descReplicate_select|escape}</label>
+ <br />replicate_select</th>
+ {else}
+ <th><label>{$message.descReplicate_select|escape}</label>
+ <br />replicate_select</th>
+ {/if}
+ {if $params.replicate_select == 'true'}
+ <td><input type="checkbox" name="replicate_select" id="replicate_select" value="true" checked="checked" /></td>
+ {else}
+ <td><input type="checkbox" name="replicate_select" id="replicate_select" value="false" /></td>
+ {/if} </tr>
<tr> {if $error.reset_query_list != null}
<th class="error"><label>{$message.descReset_query_list|escape}</label>
<br />reset_query_list (string)</th>