[pgpool-committers: 1994] pgpool: Remove fix buffer size restrictionn of pool_extract_error_messa

Tatsuo Ishii ishii at postgresql.org
Tue May 20 17:24:39 JST 2014

Remove fix buffer size restrictionn of pool_extract_error_message().

Per bug #90 (pool_extract_error_message: not enough buffer space).
With upcoming 3.4, we can use StringInfo infrastructure, and can
remove the restriction easily. The API for the function has been
changed: returns palloc'd buffer space. To adopt this, some client
functions in pool_process_query.c and pool_auth.c have been changed.



Modified Files
src/auth/pool_auth.c              |    7 +++-
src/protocol/pool_process_query.c |   72 ++++++++++++++-----------------------
2 files changed, 33 insertions(+), 46 deletions(-)

More information about the pgpool-committers mailing list