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

User T-ishii t-ishii at pgfoundry.org
Thu Oct 29 13:44:54 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.

Modified Files:
--------------
    pgpool-II:
        pool.h (r1.41 -> r1.42)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool.h?r1=1.41&r2=1.42)
        child.c (r1.34 -> r1.35)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/child.c?r1=1.34&r2=1.35)
        pool_process_query.c (r1.167 -> r1.168)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool_process_query.c?r1=1.167&r2=1.168)
        pool_proto_modules.c (r1.20 -> r1.21)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool_proto_modules.c?r1=1.20&r2=1.21)
        Makefile.am (r1.23 -> r1.24)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/Makefile.am?r1=1.23&r2=1.24)
        Makefile.in (r1.27 -> r1.28)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/Makefile.in?r1=1.27&r2=1.28)
        configure.in (r1.27 -> r1.28)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/configure.in?r1=1.27&r2=1.28)
        configure (r1.30 -> r1.31)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/configure?r1=1.30&r2=1.31)


More information about the Pgpool-committers mailing list