aboutsummaryrefslogtreecommitdiff
path: root/src/include/nodes/nodes.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2008-08-30 01:39:14 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2008-08-30 01:39:14 +0000
commit449a00fbbd49c00ba031432e8b6913a55e8ad1f6 (patch)
treec19cdeb09e444071accc7f4984d2067741988f86 /src/include/nodes/nodes.h
parent6253f9de6702fa73101997034b4fec038d547f6d (diff)
downloadpostgresql-449a00fbbd49c00ba031432e8b6913a55e8ad1f6.tar.gz
postgresql-449a00fbbd49c00ba031432e8b6913a55e8ad1f6.zip
Fix the raw-parsetree representation of star (as in SELECT * FROM or
SELECT foo.*) so that it cannot be confused with a quoted identifier "*". Instead create a separate node type A_Star to represent this notation. Per pgsql-hackers discussion of 2007-Sep-27.
Diffstat (limited to 'src/include/nodes/nodes.h')
-rw-r--r--src/include/nodes/nodes.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/nodes/nodes.h b/src/include/nodes/nodes.h
index 78dd917ecfa..7e3d67a241f 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.210 2008/08/29 22:49:07 tgl Exp $
+ * $PostgreSQL: pgsql/src/include/nodes/nodes.h,v 1.211 2008/08/30 01:39:14 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -324,6 +324,7 @@ typedef enum NodeTag
T_ParamRef,
T_A_Const,
T_FuncCall,
+ T_A_Star,
T_A_Indices,
T_A_Indirection,
T_A_ArrayExpr,