[Pgpool-committers] pgpool - pgpool-II: Change session information to integrate Portal and

User Kitagawa kitagawa at pgfoundry.org
Fri Jan 28 04:46:37 UTC 2011


Log Message:
-----------
Change session information to integrate Portal and PreparedStatement
structure into POOL_SENT_MESSAGE structure.

Portal and PreparedStatement structure were used by only extended query
protocol before. but POOL_SENT_MESSAGE is used by simple query protocol too.

This change fixes issues that happen when two protocols were mixed in
one session.

PHP example)

// PREPARE using simple query protocol
pg_query($dbconn, 'PREPARE my_query(TEXT) AS SELECT $1::TEXT');

// EXECUTE using exetended query protocol
pg_execute($dbconn, "my_query", array('test'));

Tags:
----
V3_0_STABLE

Modified Files:
--------------
    pgpool-II:
        pool_process_query.c (r1.249.2.3 -> r1.249.2.4)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool_process_query.c?r1=1.249.2.3&r2=1.249.2.4)
        pool_proto_modules.c (r1.89.2.2 -> r1.89.2.3)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool_proto_modules.c?r1=1.89.2.2&r2=1.89.2.3)
        pool_query_context.c (r1.32 -> r1.32.2.1)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool_query_context.c?r1=1.32&r2=1.32.2.1)
        pool_query_context.h (r1.8 -> r1.8.2.1)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool_query_context.h?r1=1.8&r2=1.8.2.1)
        pool_session_context.c (r1.25 -> r1.25.2.1)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool_session_context.c?r1=1.25&r2=1.25.2.1)
        pool_session_context.h (r1.20 -> r1.20.2.1)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool_session_context.h?r1=1.20&r2=1.20.2.1)
        pool_timestamp.c (r1.14 -> r1.14.2.1)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool_timestamp.c?r1=1.14&r2=1.14.2.1)
        pool_timestamp.h (r1.2 -> r1.2.2.1)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool_timestamp.h?r1=1.2&r2=1.2.2.1)


More information about the Pgpool-committers mailing list