Commit c333d2b3 authored by Tom Lane's avatar Tom Lane

Update comments for some parse node types.

parent 4951a882
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* $Id: nodes.h,v 1.73 2000/08/08 15:42:59 tgl Exp $ * $Id: nodes.h,v 1.74 2000/08/11 23:46:54 tgl Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -145,7 +145,7 @@ typedef enum NodeTag ...@@ -145,7 +145,7 @@ typedef enum NodeTag
T_UpdateStmt, T_UpdateStmt,
T_SelectStmt, T_SelectStmt,
T_AlterTableStmt, T_AlterTableStmt,
T_AggregateStmt, T_AggregateStmtXXX, /* not used anymore; this tag# is available */
T_ChangeACLStmt, T_ChangeACLStmt,
T_ClosePortalStmt, T_ClosePortalStmt,
T_ClusterStmt, T_ClusterStmt,
...@@ -216,7 +216,7 @@ typedef enum NodeTag ...@@ -216,7 +216,7 @@ typedef enum NodeTag
T_RangeTblEntry, T_RangeTblEntry,
T_SortClause, T_SortClause,
T_GroupClause, T_GroupClause,
T_SubSelect, T_SubSelectXXX, /* not used anymore; this tag# is available */
T_JoinExpr, T_JoinExpr,
T_CaseExpr, T_CaseExpr,
T_CaseWhen, T_CaseWhen,
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* $Id: parsenodes.h,v 1.110 2000/07/15 00:01:38 tgl Exp $ * $Id: parsenodes.h,v 1.111 2000/08/11 23:46:54 tgl Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -490,8 +490,8 @@ typedef struct ProcedureStmt ...@@ -490,8 +490,8 @@ typedef struct ProcedureStmt
Node *returnType; /* the return type (as a string or a Node *returnType; /* the return type (as a string or a
* TypeName (ie.setof) */ * TypeName (ie.setof) */
List *withClause; /* a list of DefElem */ List *withClause; /* a list of DefElem */
List *as; /* the SQL statement or filename */ List *as; /* definition of function body */
char *language; /* C or SQL */ char *language; /* C, SQL, etc */
} ProcedureStmt; } ProcedureStmt;
/* ---------------------- /* ----------------------
...@@ -804,7 +804,7 @@ typedef struct DeleteStmt ...@@ -804,7 +804,7 @@ typedef struct DeleteStmt
NodeTag type; NodeTag type;
char *relname; /* relation to delete from */ char *relname; /* relation to delete from */
Node *whereClause; /* qualifications */ Node *whereClause; /* qualifications */
bool inh; /* delete from subclasses */ bool inh; /* delete from subclasses */
} DeleteStmt; } DeleteStmt;
/* ---------------------- /* ----------------------
...@@ -818,7 +818,7 @@ typedef struct UpdateStmt ...@@ -818,7 +818,7 @@ typedef struct UpdateStmt
List *targetList; /* the target list (of ResTarget) */ List *targetList; /* the target list (of ResTarget) */
Node *whereClause; /* qualifications */ Node *whereClause; /* qualifications */
List *fromClause; /* the from clause */ List *fromClause; /* the from clause */
bool inh; /* update subclasses */ bool inh; /* update subclasses */
} UpdateStmt; } UpdateStmt;
/* ---------------------- /* ----------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment