[Pgpool-committers] pgpool - pgpool-II: Make is_sequence_query, is_start_transaction_query,

User T-ishii t-ishii at pgfoundry.org
Mon Jul 18 07:33:43 UTC 2011


Log Message:
-----------
Make is_sequence_query, is_start_transaction_query,
is_strict_query to bool.
These functions have been already treated as bool
from callers and leaving these as int is sloppy.
So I changed these function prototypes.

Rename is_commit_query to is_commit_or_rollback_query.  This is more
appropreate.  Add is_commit_query(returns true if commit query) and
is_rollback_query(returns true if rollback query).

Modified Files:
--------------
    pgpool-II:
        pool_process_query.c (r1.260 -> r1.261)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool_process_query.c?r1=1.260&r2=1.261)
        pool_proto_modules.c (r1.98 -> r1.99)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool_proto_modules.c?r1=1.98&r2=1.99)
        pool_proto_modules.h (r1.27 -> r1.28)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool_proto_modules.h?r1=1.27&r2=1.28)
        pool_query_context.c (r1.38 -> r1.39)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool_query_context.c?r1=1.38&r2=1.39)


More information about the Pgpool-committers mailing list