diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-03-20 21:42:48 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-03-20 21:42:48 +0000 |
| commit | 6b0706ac33ab5da815980c642a9cde9a4cd86b6b (patch) | |
| tree | 511ad4743ad55a095cbacea0713b437af36ba9ce /src/include/nodes/nodes.h | |
| parent | 8759b79d0fe8b9937b7cbebfed78480b3e6a94b2 (diff) | |
| download | postgresql-6b0706ac33ab5da815980c642a9cde9a4cd86b6b.tar.gz | |
Arrange for an explicit cast applied to an ARRAY[] constructor to be applied
directly to all the member expressions, instead of the previous implementation
where the ARRAY[] constructor would infer a common element type and then we'd
coerce the finished array after the fact. This has a number of benefits,
one being that we can allow an empty ARRAY[] construct so long as its
element type is specified by such a cast.
Brendan Jurd, minor fixes by me.
Diffstat (limited to 'src/include/nodes/nodes.h')
| -rw-r--r-- | src/include/nodes/nodes.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/nodes/nodes.h b/src/include/nodes/nodes.h index 5a6745a214..79d679b5be 100644 --- a/src/include/nodes/nodes.h +++ b/src/include/nodes/nodes.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/nodes/nodes.h,v 1.205 2008/01/01 19:45:58 momjian Exp $ + * $PostgreSQL: pgsql/src/include/nodes/nodes.h,v 1.206 2008/03/20 21:42:48 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -324,6 +324,7 @@ typedef enum NodeTag T_FuncCall, T_A_Indices, T_A_Indirection, + T_A_ArrayExpr, T_ResTarget, T_TypeCast, T_SortBy, |
