Skip to content

Commit c333d2b

Browse files
committed
Update comments for some parse node types.
1 parent 4951a88 commit c333d2b

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/include/nodes/nodes.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $Id: nodes.h,v 1.73 2000/08/08 15:42:59 tgl Exp $
10+
* $Id: nodes.h,v 1.74 2000/08/11 23:46:54 tgl Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -145,7 +145,7 @@ typedef enum NodeTag
145145
T_UpdateStmt,
146146
T_SelectStmt,
147147
T_AlterTableStmt,
148-
T_AggregateStmt,
148+
T_AggregateStmtXXX, /* not used anymore; this tag# is available */
149149
T_ChangeACLStmt,
150150
T_ClosePortalStmt,
151151
T_ClusterStmt,
@@ -216,7 +216,7 @@ typedef enum NodeTag
216216
T_RangeTblEntry,
217217
T_SortClause,
218218
T_GroupClause,
219-
T_SubSelect,
219+
T_SubSelectXXX, /* not used anymore; this tag# is available */
220220
T_JoinExpr,
221221
T_CaseExpr,
222222
T_CaseWhen,

src/include/nodes/parsenodes.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $Id: parsenodes.h,v 1.110 2000/07/15 00:01:38 tgl Exp $
10+
* $Id: parsenodes.h,v 1.111 2000/08/11 23:46:54 tgl Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -490,8 +490,8 @@ typedef struct ProcedureStmt
490490
Node *returnType; /* the return type (as a string or a
491491
* TypeName (ie.setof) */
492492
List *withClause; /* a list of DefElem */
493-
List *as; /* the SQL statement or filename */
494-
char *language; /* C or SQL */
493+
List *as; /* definition of function body */
494+
char *language; /* C, SQL, etc */
495495
} ProcedureStmt;
496496

497497
/* ----------------------
@@ -804,7 +804,7 @@ typedef struct DeleteStmt
804804
NodeTag type;
805805
char *relname; /* relation to delete from */
806806
Node *whereClause; /* qualifications */
807-
bool inh; /* delete from subclasses */
807+
bool inh; /* delete from subclasses */
808808
} DeleteStmt;
809809

810810
/* ----------------------
@@ -818,7 +818,7 @@ typedef struct UpdateStmt
818818
List *targetList; /* the target list (of ResTarget) */
819819
Node *whereClause; /* qualifications */
820820
List *fromClause; /* the from clause */
821-
bool inh; /* update subclasses */
821+
bool inh; /* update subclasses */
822822
} UpdateStmt;
823823

824824
/* ----------------------

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy