[pgpool-committers: 3130] pgpool: removing the limit on the maximum number of items in the black_

Muhammad Usama m.usama at gmail.com
Fri Apr 8 03:41:53 JST 2016


removing the limit on the maximum number of items in the black_function_list
and white_function_list lists.

extract_string_tokens in pool_config uses the fixed size malloc on the array to
hold the black_function_list/white_function_list items. This imposes a limit of
maximum items in these lists. The fix is to use realloc to increase the array
size when it gets full.

Branch
------
V3_4_STABLE

Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=bfcf9443c1f9c584b7fa806859c0db37cf67016a

Modified Files
--------------
src/config/pool_config.c | 87 ++++++++++++++++++++++--------------------------
src/config/pool_config.l | 13 ++++++--
2 files changed, 50 insertions(+), 50 deletions(-)



More information about the pgpool-committers mailing list