1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-08 11:42:09 +03:00

Clean up plantree representation of SubPlan-s --- SubLink does not appear

in the planned representation of a subplan at all any more, only SubPlan.
This means subselect.c doesn't scribble on its input anymore, which seems
like a good thing; and there are no longer three different possible
interpretations of a SubLink.  Simplify node naming and improve comments
in primnodes.h.  No change to stored rules, though.
This commit is contained in:
Tom Lane
2002-12-14 00:17:59 +00:00
parent 29cdab3d53
commit 2d8d66628a
24 changed files with 355 additions and 356 deletions

View File

@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: nodes.h,v 1.132 2002/12/13 19:46:00 tgl Exp $
* $Id: nodes.h,v 1.133 2002/12/14 00:17:59 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@ -107,7 +107,7 @@ typedef enum NodeTag
T_DistinctExpr,
T_BoolExpr,
T_SubLink,
T_SubPlanExpr,
T_SubPlan,
T_FieldSelect,
T_RelabelType,
T_CaseExpr,
@ -133,7 +133,7 @@ typedef enum NodeTag
T_ArrayRefExprState,
T_FuncExprState,
T_BoolExprState,
T_SubPlanExprState,
T_SubPlanState,
T_CaseExprState,
T_CaseWhenState,
T_ConstraintTestState,