aboutsummaryrefslogtreecommitdiff
path: root/src/include/optimizer/paramassign.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/optimizer/paramassign.h
parentf09346a9c6218dd239fdf3a79a729716c0d305bd (diff)
downloadpostgresql-fa2cf164aaf91e074be653c28e035f65d80eb666.tar.gz
postgresql-fa2cf164aaf91e074be653c28e035f65d80eb666.zip
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/optimizer/paramassign.h')
-rw-r--r--src/include/optimizer/paramassign.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/optimizer/paramassign.h b/src/include/optimizer/paramassign.h
index d18c85c938b..e18f420eb40 100644
--- a/src/include/optimizer/paramassign.h
+++ b/src/include/optimizer/paramassign.h
@@ -13,7 +13,7 @@
#ifndef PARAMASSIGN_H
#define PARAMASSIGN_H
-#include "nodes/relation.h"
+#include "nodes/pathnodes.h"
extern Param *replace_outer_var(PlannerInfo *root, Var *var);
extern Param *replace_outer_placeholdervar(PlannerInfo *root,