Update comments for some parse node types.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 11 Aug 2000 23:46:54 +0000 (23:46 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 11 Aug 2000 23:46:54 +0000 (23:46 +0000)
src/include/nodes/nodes.h
src/include/nodes/parsenodes.h

index e5acd161c47e793064cf630614154258ae2a3076..f3697d34a911d534e27775d4a95b13c5b9f403a6 100644 (file)
@@ -145,7 +145,7 @@ typedef enum NodeTag
        T_UpdateStmt,
        T_SelectStmt,
        T_AlterTableStmt,
-       T_AggregateStmt,
+       T_AggregateStmtXXX,                     /* not used anymore; this tag# is available */
        T_ChangeACLStmt,
        T_ClosePortalStmt,
        T_ClusterStmt,
@@ -216,7 +216,7 @@ typedef enum NodeTag
        T_RangeTblEntry,
        T_SortClause,
        T_GroupClause,
-       T_SubSelect,
+       T_SubSelectXXX,                         /* not used anymore; this tag# is available */
        T_JoinExpr,
        T_CaseExpr,
        T_CaseWhen,
index 50e53506c6954e60970b96348a1395d494d4288f..c361a62acec43558368b1ad3257adb7ef1530ed8 100644 (file)
@@ -490,8 +490,8 @@ typedef struct ProcedureStmt
        Node       *returnType;         /* the return type (as a string or a
                                                                 * TypeName (ie.setof) */
        List       *withClause;         /* a list of DefElem */
-       List       *as;                         /* the SQL statement or filename */
-       char       *language;           /* C or SQL */
+       List       *as;                         /* definition of function body */
+       char       *language;           /* C, SQL, etc */
 } ProcedureStmt;
 
 /* ----------------------
@@ -804,7 +804,7 @@ typedef struct DeleteStmt
        NodeTag         type;
        char       *relname;            /* relation to delete from */
        Node       *whereClause;        /* qualifications */
-  bool        inh;              /* delete from subclasses */
+       bool            inh;                    /* delete from subclasses */
 } DeleteStmt;
 
 /* ----------------------
@@ -818,7 +818,7 @@ typedef struct UpdateStmt
        List       *targetList;         /* the target list (of ResTarget) */
        Node       *whereClause;        /* qualifications */
        List       *fromClause;         /* the from clause */
-  bool        inh;              /* update subclasses */
+       bool            inh;                    /* update subclasses */
 } UpdateStmt;
 
 /* ----------------------