[Pgpool-committers] pgpool - pgpool-II: Fix long standing bug with timestamp rewriting
User T-ishii
t-ishii at pgfoundry.org
Tue Dec 14 07:21:10 UTC 2010
Log Message:
-----------
Fix long standing bug with timestamp rewriting against array
and complex types. Failed examples are:
INSERT INTO r1(col[1], col2.foo) VALUES (1, 2); -- insert_column_item
UPDATE r1 SET col1[1] = 1, col2.foo = 1; -- set_target
PREPARE "p" (int4[]) AS SELECT $1[1]; -- c_expr
SELECT (ARRAY[1,2,3])[1];
SELECT (ARRAY[ARRAY[1]])[1][1];
SELECT ('{1,2,3}'::int[])[1];
SELECT ('{1,2,3}'::int[3])[1];
SELECT r1.col[1], (r1.col1).bar, (r1.col1).* FROM r1; -- columnref
SELECT (r1.col1).baz[1], (r1.col1).baz[1][2] FROM r1;
Patch provided by Akio Ishida.
Modified Files:
--------------
pgpool-II/parser:
outfuncs.c (r1.10 -> r1.11)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgpool/pgpool-II/parser/outfuncs.c?r1=1.10&r2=1.11)
More information about the Pgpool-committers
mailing list