From c333d2b32951038f60c90e88dc6abde40964dcf7 Mon Sep 17 00:00:00 2001
From: Tom Lane <tgl@sss.pgh.pa.us>
Date: Fri, 11 Aug 2000 23:46:54 +0000
Subject: [PATCH] Update comments for some parse node types.

---
 src/include/nodes/nodes.h      |  6 +++---
 src/include/nodes/parsenodes.h | 10 +++++-----
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/include/nodes/nodes.h b/src/include/nodes/nodes.h
index 27de4d54ebf..f05e0a0e1c9 100644
--- a/src/include/nodes/nodes.h
+++ b/src/include/nodes/nodes.h
@@ -7,7 +7,7 @@
  * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
  * 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
 	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,
diff --git a/src/include/nodes/parsenodes.h b/src/include/nodes/parsenodes.h
index 8516da8800e..1d2a7ce813f 100644
--- a/src/include/nodes/parsenodes.h
+++ b/src/include/nodes/parsenodes.h
@@ -7,7 +7,7 @@
  * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
  * 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
 	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;
 
 /* ----------------------
-- 
GitLab