[pgpool-general: 5484] Re: Memcache: white_memqcache_table_list ignored if table name matches black_memqcache_table_list

Tatsuo Ishii ishii at sraoss.co.jp
Wed May 17 18:12:27 JST 2017


> Thanks for your feedback.

Your welcome.

> I came to the same conclusion yesterday, and stuck till 2 am trying to
> create a regexp with a negative match for the black list.
> 
> Tried with ^((?!(t1|t2)$).+$, but this syntax was not accepted by the re
> library pgpool uses -- I guess you use the pcre lib on your (pgpool.net's)
> yum repo for rhel7, based on ldd output.
> 
> I'll try to find out exactly what kind of syntax that regexp lib use, if
> any, otherwise I will follow your suggestion,  although that feels like a
> an unmaintenable mess in the long run.
> 
> Regards,
> -José Pedro
> 
> PS: I am impressed with the level of detail you managed to provide in your
>  response

Thanks. BTW, if there were portable way to incorporate a regex library
which supports "negative lookahead" (?!), please let me know. I have
to admit the maintenance burden of the messy regular expressions.

Best regards,
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp


More information about the pgpool-general mailing list