From: Tatsuo Ishii Date: Sat, 24 Sep 2011 22:03:48 +0000 (+0000) Subject: Allow to use function name including "_" in white_function_list and X-Git-Tag: V3_1_1~21 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=2a5ad6d8882e161e3282f3a57e147b353e8b9ea4;p=pgpooladmin.git Allow to use function name including "_" in white_function_list and black_function_list. --- diff --git a/definePgpoolConfParam.php b/definePgpoolConfParam.php index 2cac77e..0422b34 100644 --- a/definePgpoolConfParam.php +++ b/definePgpoolConfParam.php @@ -139,12 +139,12 @@ $pgpoolConfigParam[$key]['regexp'] = "^[0-9a-zA-Z; ]+$"; $key = 'white_function_list'; $pgpoolConfigParam[$key]['type'] ='C'; $pgpoolConfigParam[$key]['default'] =''; -$pgpoolConfigParam[$key]['regexp'] = "^[0-9a-zA-Z,]*$"; +$pgpoolConfigParam[$key]['regexp'] = "^[0-9a-zA-Z_,]*$"; $key = 'black_function_list'; $pgpoolConfigParam[$key]['type'] ='C'; $pgpoolConfigParam[$key]['default'] =''; -$pgpoolConfigParam[$key]['regexp'] = "^[0-9a-zA-Z,]*$"; +$pgpoolConfigParam[$key]['regexp'] = "^[0-9a-zA-Z_,]*$"; $key = 'print_timestamp'; $pgpoolConfigParam[$key]['type'] ='B';