[Pgpool-committers] pgpool - pgpool-II: Add pool_relcache.c to Makefile.am.

User T-ishii t-ishii at pgfoundry.org
Thu Oct 29 12:58:47 UTC 2009


Log Message:
-----------
Add pool_relcache.c to Makefile.am.
Refactor need_insert_lock to use pool_search_relcache and friends.
Add LocalSessionId to child.c which manage per session counter of
relcache. 
Allow to use temp tables with master/slave mode. Parse() failed.
since Parse() was always sent to master and slave and slave
does not have the temp table. To fix this, is_temp_table() added
to pool_proto_modules.c which inquire particular table is a temporary
one or not when INSERT/UPDATE/DELETE. If it's a temporary table,
parse message is sent to only master. Note that /*NO LOAD BALANCE*/
directive can be used to control this.
SELECT still needs /*NO LOAD BALANCE*/. It's hard to find all tables
in a SELECT statement.

Tags:
----
V2_2_STABLE

Modified Files:
--------------
    pgpool-II:
        pool.h (r1.36.2.5 -> r1.36.2.6)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool.h?r1=1.36.2.5&r2=1.36.2.6)
        child.c (r1.26.2.8 -> r1.26.2.9)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/child.c?r1=1.26.2.8&r2=1.26.2.9)
        pool_process_query.c (r1.141.2.24 -> r1.141.2.25)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool_process_query.c?r1=1.141.2.24&r2=1.141.2.25)
        pool_proto_modules.c (r1.6.2.13 -> r1.6.2.14)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool_proto_modules.c?r1=1.6.2.13&r2=1.6.2.14)
        Makefile.am (r1.21.2.1 -> r1.21.2.2)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/Makefile.am?r1=1.21.2.1&r2=1.21.2.2)
        Makefile.in (r1.25.2.1 -> r1.25.2.2)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/Makefile.in?r1=1.25.2.1&r2=1.25.2.2)
        configure.in (r1.27.2.5 -> r1.27.2.6)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/configure.in?r1=1.27.2.5&r2=1.27.2.6)
        configure (r1.30.2.5 -> r1.30.2.6)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/configure?r1=1.30.2.5&r2=1.30.2.6)


More information about the Pgpool-committers mailing list