[pgpool-committers: 4997] pgpool: Fix "write on backend 0 failed with error :"Success"" error.

Tatsuo Ishii ishii at postgresql.org
Tue Aug 7 21:43:31 JST 2018


Fix "write on backend 0 failed with error :"Success"" error.

While writing to a socket, sometimes write() returns 0. Before we
treated this as an error, but it seems this could happen in the field
and is better to be treated as normal. So if write() returns 0, then
retry write() instead of raise an error.

Per bug #403.

Branches
--------
SCRAM_AUTH
master

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

Modified Files
--------------
src/utils/pool_stream.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)



More information about the pgpool-committers mailing list