pgpool2.git / summary / log / commit / refs

commit    e5bc21f463e092cdb55b02a5ae6520a7d7fd1027
Author:   Nozomi Anzai <anzai@sraoss.co.jp>
Date:     Fri Jul 06 07:44:20 2012 +0000

    Add the notice about regular expressions in pgpool that white/black funtion list and white/black memqcache table list are automatically added ^ and $ when used.


doc/pgpool-en.html | 10 ++++++---- doc/pgpool-ja.html | 10 ++++++---- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/doc/pgpool-en.html b/doc/pgpool-en.html index 88b854eac..065254fac 100644 --- a/doc/pgpool-en.html +++ b/doc/pgpool-en.html @@ -1327,7 +1327,8 @@ configuration parameters below must be set in addition to everything above.</p> neither load balanced, nor replicated if in replication mode. In master slave mode, such SELECTs are sent to master (primary) only. </p> - <p>You can use regular expression into the list to match function name, + <p>You can use regular expression into the list to match function name + (to which added automatically ^ and $), for example if you have prefixed all your read only function with 'get_' or 'select_' </p> <pre> @@ -1343,7 +1344,8 @@ white_function_list = 'get_.*,select_.*' load balanced, nor replicated if in replication mode. In master slave mode, such SELECTs are sent to master(primary) only. </p> - <p>You can use regular expression into the list to match function name, + <p>You can use regular expression into the list to match function name + (to which added automatically ^ and $) for example if you have prefixed all your updating functions with 'set_', 'update_', 'delete_' or 'insert_': </p> <pre> @@ -2660,7 +2662,7 @@ These are the parameters used with both of shmem and memcached. <dd> <p> Specify a comma separated list of table names whose SELECT results are to be cached even if - they are VIEWs or unlogged tables. You can use regular expression. + they are VIEWs or unlogged tables. You can use regular expression (to which added automatically ^ and $). </p> <p> TABLEs and VIEWs in both of white_memqcache_table_list and @@ -2672,7 +2674,7 @@ These are the parameters used with both of shmem and memcached. <dd> <p> Specify a comma separated list of table names whose SELECT results are <strong>NOT</strong> to be cached. - You can use regular expression. + You can use regular expression (to which added automatically ^ and $). </p> </dd> diff --git a/doc/pgpool-ja.html b/doc/pgpool-ja.html index 3036f9de5..877a02d64 100644 --- a/doc/pgpool-ja.html +++ b/doc/pgpool-ja.html @@ -1386,7 +1386,7 @@ rawモード、コネクションプールモードに加え、以下を設定 (マスタースレーブモードにおいては、マスター(primary)DBノードにのみ送信されます)。 </p> <p> - 関数名には正規表現を使うことができます。 + 関数名には正規表現を使うことができます。指定した各表現に ^ と $ をつけた形で使われます。 たとえば、読み出しのみの関数が"get_"あるいは"select_"で始まるならば、以下のような指定が可能です。 </p> <pre> @@ -1403,7 +1403,7 @@ white_function_list = 'get_.*,select_.*' このリストに含まれない関数呼び出しを含むSELECTは、負荷分散の対象となります。 </p> <p> - 関数名には正規表現を使うことができます。 + 関数名には正規表現を使うことができます。指定した各表現に ^ と $ をつけた形で使われます。 たとえば、読み出しのみの関数が"set_"、"update_"、"delete_"あるいは"insert_"で始まるならば、 以下のような指定が可能です。 </p> @@ -2766,7 +2766,8 @@ memcachedをキャッシュストレージに使用する場合は、ネット <p> VIEW やunloggedテーブルを使っているSELECTは通常キャッシュの対象になりませんが、 white_memqcache_table_list に記述しておくことで、キャッシュされるようになります。 - テーブル名はカンマ区切りで指定します。正規表現も利用できます。 + テーブル名はカンマ区切りで指定します。正規表現も利用できます + (指定した各表現に ^ と $ をつけた形で使われます)。 <p> なお、同じテーブル・VIEW が <a href="#BLACK_MEMQCACHE_TABLE_LIST">black_memqcache_table_list</a> と両方に 指定されている場合は、white_memqcache_table_list が優先され、キャッシュを利用します。 @@ -2776,7 +2777,8 @@ memcachedをキャッシュストレージに使用する場合は、ネット <dt id="BLACK_MEMQCACHE_TABLE_LIST">black_memqcache_table_list <span class="version">V3.2 〜</span></dt> <dd> <p> - SELECT結果をキャッシュしたくないテーブル名をカンマ区切りで指定します。正規表現も利用できます。 + SELECT結果をキャッシュしたくないテーブル名をカンマ区切りで指定します。正規表現も利用できます + (指定した各表現に ^ と $ をつけた形で使われます)。 </p> </dd> [parent: 0f77922ab6af]