[Pgpool-committers] pgpool - pgpool-II: Allow time stamp rewriting to work with arbitrary

User T-ishii t-ishii at pgfoundry.org
Tue Jun 28 22:48:26 UTC 2011


Log Message:
-----------
Allow time stamp rewriting to work with arbitrary expression in default
value of a column. Before we detected anything including now() then
simply replaced it to now(). This will lead to wrong rewriting of
default value. for example, timezone('utc'::text, now()).
Note that, however, this only adopts to simple queries. Extended protocols
(for example Java, PHP PDO) or sql "PREPARE" still remain same.

Modified Files:
--------------
    pgpool-II:
        pool_timestamp.c (r1.17 -> r1.18)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/pool_timestamp.c?r1=1.17&r2=1.18)


More information about the Pgpool-committers mailing list