[pgpool-committers: 3129] 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
------
master

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

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



More information about the pgpool-committers mailing list