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

Tatsuo Ishii ishii at postgresql.org
Wed Jul 4 15:28: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.

Branch
------
V3_3_STABLE

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

Modified Files
--------------
pool_stream.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)



More information about the pgpool-committers mailing list