[Pgpool-committers] pgpool - pgpool-II: Change wait_for_query_response() so that it sends

Tatsuo Ishii ishii at sraoss.co.jp
Tue Aug 18 08:42:40 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.

Forgot to add this note:

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.


> Tags:
> ----
> V2_2_STABLE
> 
> Modified Files:
> --------------
>     pgpool-II:
>         pool_process_query.c (r1.141.2.15 -> r1.141.2.16)
>         (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool_process_query.c?r1=1.141.2.15&r2=1.141.2.16)
>         pool_proto_modules.c (r1.6.2.7 -> r1.6.2.8)
>         (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool_proto_modules.c?r1=1.6.2.7&r2=1.6.2.8)
>         pool_proto_modules.h (r1.1.2.2 -> r1.1.2.3)
>         (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool_proto_modules.h?r1=1.1.2.2&r2=1.1.2.3)
> _______________________________________________
> Pgpool-committers mailing list
> Pgpool-committers at pgfoundry.org
> http://pgfoundry.org/mailman/listinfo/pgpool-committers


More information about the Pgpool-committers mailing list