summaryrefslogtreecommitdiff
path: root/src/include/nodes/nodes.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2019-01-29 16:49:25 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2019-01-29 16:49:25 -0500
commitfa2cf164aaf91e074be653c28e035f65d80eb666 (patch)
treef492596ab11137cf1cfa38400ebfa7d191d19eda /src/include/nodes/nodes.h
parentf09346a9c6218dd239fdf3a79a729716c0d305bd (diff)
Rename nodes/relation.h to nodes/pathnodes.h.
The old name of this file was never a very good indication of what it was for. Now that there's also access/relation.h, we have a potential confusion hazard as well, so let's rename it to something more apropos. Per discussion, "pathnodes.h" is reasonable, since a good fraction of the file is Path node definitions. While at it, tweak a couple of other headers that were gratuitously importing relation.h into modules that don't need it. Discussion: https://postgr.es/m/7719.1548688728@sss.pgh.pa.us
Diffstat (limited to 'src/include/nodes/nodes.h')
-rw-r--r--src/include/nodes/nodes.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/nodes/nodes.h b/src/include/nodes/nodes.h
index 4808a9e76d4..fbe2dc14a7d 100644
--- a/src/include/nodes/nodes.h
+++ b/src/include/nodes/nodes.h
@@ -215,7 +215,7 @@ typedef enum NodeTag
T_DomainConstraintState,
/*
- * TAGS FOR PLANNER NODES (relation.h)
+ * TAGS FOR PLANNER NODES (pathnodes.h)
*/
T_PlannerInfo,
T_PlannerGlobal,
@@ -741,7 +741,7 @@ typedef enum JoinType
* AggStrategy -
* overall execution strategies for Agg plan nodes
*
- * This is needed in both plannodes.h and relation.h, so put it here...
+ * This is needed in both pathnodes.h and plannodes.h, so put it here...
*/
typedef enum AggStrategy
{
@@ -755,7 +755,7 @@ typedef enum AggStrategy
* AggSplit -
* splitting (partial aggregation) modes for Agg plan nodes
*
- * This is needed in both plannodes.h and relation.h, so put it here...
+ * This is needed in both pathnodes.h and plannodes.h, so put it here...
*/
/* Primitive options supported by nodeAgg.c: */
@@ -785,7 +785,7 @@ typedef enum AggSplit
* SetOpCmd and SetOpStrategy -
* overall semantics and execution strategies for SetOp plan nodes
*
- * This is needed in both plannodes.h and relation.h, so put it here...
+ * This is needed in both pathnodes.h and plannodes.h, so put it here...
*/
typedef enum SetOpCmd
{