[pgpool-committers: 3128] 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_3_STABLE

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

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