[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:17:09 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.

Tags:
----
V2_2_STABLE

Modified Files:
--------------
    pgpool-II:
        pool_process_query.c (r1.141.2.18 -> r1.141.2.19)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool_process_query.c?r1=1.141.2.18&r2=1.141.2.19)
        pool_proto_modules.c (r1.6.2.9 -> r1.6.2.10)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool_proto_modules.c?r1=1.6.2.9&r2=1.6.2.10)
        pool_proto_modules.h (r1.1.2.3 -> r1.1.2.4)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool_proto_modules.h?r1=1.1.2.3&r2=1.1.2.4)


More information about the Pgpool-committers mailing list