[Pgpool-hackers] [Pgpool-committers] pgpool - pgpool-II: Allow to use regular expressions in black and white

Tatsuo Ishii ishii at sraoss.co.jp
Tue Jan 18 23:22:39 UTC 2011


I strikes me that there were no changes to docs and sample
configurations in this commit. Gilles, could please post the patches?
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese: http://www.sraoss.co.jp

From: t-ishii at pgfoundry.org (User T-ishii)
Subject: [Pgpool-committers] pgpool - pgpool-II: Allow to use regular expressions in black and white
Date: Sun, 26 Dec 2010 00:58:36 +0000 (UTC)
Message-ID: <20101226005836.ADF861071035 at pgfoundry.org>

> Log Message:
> -----------
> Allow to use regular expressions in black and white function list.
> Patch created by Gilles Darold. Here is the description he wrote.
> 
> Regex patch :
> 
>     The regex struct array is stored in pool_config struct, it is
>     dynamically expendable by PATTERN_ARR_SIZE when it reached
>     NxPATTERN_ARR_SIZE (start with 16 regex max).
> 
>     All entries in white_function_list or black_function_list are stored
>     in this array with a flag to differentiate them. To preserve
>     backward compatibility and prevent partial matching lists entries
>     are all prefixed with '^' and ended with '$' if not already done.
>     This also mean that if we want to match function beginning with
>     "write_" it has to be written : "write_.*". Indeed "^write_.*$"
>     works too.
> 
> Patch reviewd by Guillaume Lela.
> 
> Modified Files:
> --------------
>     pgpool-II:
>         pool_config.c (r1.52 -> r1.53)
>         (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool_config.c?r1=1.52&r2=1.53)
>         pool_config.l (r1.48 -> r1.49)
>         (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool_config.l?r1=1.48&r2=1.49)
>         pool_config.h (r1.8 -> r1.9)
>         (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool_config.h?r1=1.8&r2=1.9)
>         pool_select_walker.c (r1.6 -> r1.7)
>         (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool_select_walker.c?r1=1.6&r2=1.7)
> _______________________________________________
> Pgpool-committers mailing list
> Pgpool-committers at pgfoundry.org
> http://pgfoundry.org/mailman/listinfo/pgpool-committers


More information about the Pgpool-hackers mailing list