[Pgpool-committers] pgpool - pgpool-II: Fix bug which cannot use the cursors of JDBC driver

User Kitagawa kitagawa at pgfoundry.org
Fri Aug 12 06:46:04 UTC 2011


Log Message:
-----------
Fix bug which cannot use the cursors of JDBC driver on standby node.

In master/slave mode, the transaction commands come to be sent to
all nodes by this fix because the cursors of JDBC driver cannot use
without transactions.

But if the transaction command is "BEGIN READ WRITE" or "START TRANSACTION
READ WRITE", pgpool-II sends "BEGIN" instead of it to standby node.
The reason is because standby nodes disallow "READ WRITE" option.

Modified Files:
--------------
    pgpool-II:
        pool_process_query.c (r1.264 -> r1.265)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool_process_query.c?r1=1.264&r2=1.265)
        pool_proto_modules.c (r1.105 -> r1.106)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool_proto_modules.c?r1=1.105&r2=1.106)
        pool_proto_modules.h (r1.30 -> r1.31)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool_proto_modules.h?r1=1.30&r2=1.31)
        pool_query_context.c (r1.41 -> r1.42)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool_query_context.c?r1=1.41&r2=1.42)
        pool_query_context.h (r1.11 -> r1.12)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool_query_context.h?r1=1.11&r2=1.12)


More information about the Pgpool-committers mailing list