[pgpool-committers: 3133] 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_1_STABLE

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

Modified Files
--------------
pool_config.c | 90 ++++++++++++++++++++++++++++-------------------------------
pool_config.l | 16 +++++++++--
2 files changed, 56 insertions(+), 50 deletions(-)



More information about the pgpool-committers mailing list