1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-05 07:21:24 +03:00

Create a new parsetree node type, TypeCast, so that transformation of

SQL cast constructs can be performed during expression transformation
instead of during parsing.  This allows constructs like x::numeric(9,2)
and x::int2::float8 to behave as one would expect.
This commit is contained in:
Tom Lane
2000-01-17 00:14:49 +00:00
parent e0bd60171a
commit 49528361f5
10 changed files with 242 additions and 132 deletions

View File

@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: nodes.h,v 1.61 2000/01/16 20:04:58 petere Exp $
* $Id: nodes.h,v 1.62 2000/01/17 00:14:48 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@ -202,7 +202,7 @@ typedef enum NodeTag
T_FuncCall,
T_A_Indices,
T_ResTarget,
T_ParamString, /* not used anymore */
T_TypeCast,
T_RelExpr,
T_SortGroupBy,
T_RangeVar,