[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.

Branch
------
master

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

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