[Pgpool-committers] pgpool - pgpool-II: Change wait_for_query_response() so that it sends
User T-ishii
t-ishii at pgfoundry.org
Tue Aug 18 08:41:36 UTC 2009
Log Message:
-----------
Change wait_for_query_response() so that it sends NOTICE message to
frontend periodically. It appears that pgpool-II 2.2.3 unconditionaly
sends param packet to client even it uses version 2 protocol, which
is apparentlt wrong. Also tweak checking period from 1 second to
30 seconds since 1 second seems too aggressive.
Note that you need to edit pool_process_query.c to define
SEND_NOTICE_ON_PROTO2 around line 879 to enable this feature in
version 2 protocol.
Modified Files:
--------------
pgpool-II:
pool_process_query.c (r1.156 -> r1.157)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool_process_query.c?r1=1.156&r2=1.157)
pool_proto_modules.c (r1.14 -> r1.15)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool_proto_modules.c?r1=1.14&r2=1.15)
pool_proto_modules.h (r1.3 -> r1.4)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool_proto_modules.h?r1=1.3&r2=1.4)
More information about the Pgpool-committers
mailing list