Move a comment
authorPeter Eisentraut <[email protected]>
Sat, 9 Jul 2022 11:22:46 +0000 (13:22 +0200)
committerPeter Eisentraut <[email protected]>
Sat, 9 Jul 2022 11:22:46 +0000 (13:22 +0200)
Move a comment from the to-be-deleted section of nodes.h to where it
might still be useful.

src/include/nodes/execnodes.h
src/include/nodes/nodes.h

index 5728801379522c4ee486ddd239d29c7dcf71889e..17c42d4a88a158028d1350ddde88c5a96ed5905d 100644 (file)
@@ -3,6 +3,12 @@
  * execnodes.h
  *   definitions for executor state nodes
  *
+ * ExprState represents the evaluation state for a whole expression tree.
+ * Most Expr-based plan nodes do not have a corresponding expression state
+ * node, they're fully handled within execExpr* - but sometimes the state
+ * needs to be shared with other parts of the executor, as for example
+ * with SubPlanState, which nodeSubplan.c has to modify.
+ *
  *
  * Portions Copyright (c) 1996-2022, PostgreSQL Global Development Group
  * Portions Copyright (c) 1994, Regents of the University of California
index 4f720b6d69f7ec0a115dacb6bb52c34e5d1b26b0..9999336eb45b4d0bb2cccdf5db9ba16cd994d5a7 100644 (file)
@@ -218,12 +218,6 @@ typedef enum NodeTag
 
    /*
     * TAGS FOR EXPRESSION STATE NODES (execnodes.h)
-    *
-    * ExprState represents the evaluation state for a whole expression tree.
-    * Most Expr-based plan nodes do not have a corresponding expression state
-    * node, they're fully handled within execExpr* - but sometimes the state
-    * needs to be shared with other parts of the executor, as for example
-    * with SubPlanState, which nodeSubplan.c has to modify.
     */
    T_ExprState,
    T_WindowFuncExprState,