[pgpool-committers: 966] pgpool: Fix wd_create_send_socket() not to execute select() before conn
Yugo Nagata
nagata at sraoss.co.jp
Mon May 13 08:27:06 JST 2013
Fix wd_create_send_socket() not to execute select() before connect()
How select() works on an unconnected socket is undefined, and differs
between platform. This returns 2 on Linux and it is eventually harmless.
However, this returns 0 on Solaris and it is indistinguishable from time
timeout.
Branch
------
master
Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=d3ea5b540db3c36625e0ce1dd89081d7f91e7906
Modified Files
--------------
watchdog/wd_packet.c | 51 +++----------------------------------------------
1 files changed, 4 insertions(+), 47 deletions(-)
More information about the pgpool-committers
mailing list