[Pgpool-committers] pgpool - pgpool-II: Fix bug with query cancel.

User T-ishii t-ishii at pgfoundry.org
Tue Dec 30 00:59:35 UTC 2008


Log Message:
-----------
Fix bug with query cancel. It seems this has not been working since
pgpool-II was born.

To fix this, now we have each connection's pid and cancel key in the
shared memory area. If a cancel packet is sent, the table is searched
by the pid and the cancel key. If found, the actual cancel key is
sent to each backend.

Modified Files:
--------------
    pgpool-II:
        pool_type.h (r1.8 -> r1.9)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool_type.h.diff?r1=1.8&r2=1.9)
        pool.h (r1.32 -> r1.33)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool.h.diff?r1=1.32&r2=1.33)
        child.c (r1.23 -> r1.24)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/child.c.diff?r1=1.23&r2=1.24)
        main.c (r1.41 -> r1.42)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/main.c.diff?r1=1.41&r2=1.42)
        pool_auth.c (r1.13 -> r1.14)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool_auth.c.diff?r1=1.13&r2=1.14)


More information about the Pgpool-committers mailing list