[Pgpool-committers] pgpool - pgpool-II: Teach do_command() to use wait_for_query_response().

User T-ishii t-ishii at pgfoundry.org
Thu Sep 17 11:32:34 UTC 2009


Log Message:
-----------
Teach do_command() to use wait_for_query_response().
insert_lock() calls do_command() to issue LOCK TABLE to lock tables
having SERIAL column when insert_lock is true. Problem is,
insert_lock() waits forever in do_command() if the target table is
locked by someone else. This patch should give a way insert_lock() to
espcape from the situation.

Modified Files:
--------------
    pgpool-II:
        pool_process_query.c (r1.160 -> r1.161)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool_process_query.c?r1=1.160&r2=1.161)
        pool_proto_modules.c (r1.16 -> r1.17)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool_proto_modules.c?r1=1.16&r2=1.17)
        pool_proto_modules.h (r1.4 -> r1.5)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool_proto_modules.h?r1=1.4&r2=1.5)


More information about the Pgpool-committers mailing list