[pgpool-committers: 5668] pgpool: Fix "not enough space in buffer" error.
Tatsuo Ishii
ishii at sraoss.co.jp
Wed Apr 17 22:43:14 JST 2019
Fix "not enough space in buffer" error.
The error occurred while processing error message returned from
backend and the cause is that the query string in question is too
big. Problem is, the buffer is in fixed size (8192 bytes). From the
programming point of view there's absolutely no need to use fixed size
buffer. So eliminate the fixed size buffer and use palloced buffer
instead. This also saves some memory copy work.
Per bug 499.
Branch
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=062c2de1f916b19eff266b197787fe5e89aa6083
Modified Files
--------------
src/protocol/pool_process_query.c | 59 ++++++++++++++-------------------------
1 file changed, 21 insertions(+), 38 deletions(-)
More information about the pgpool-committers
mailing list