diff options
| author | Tom Lane | 2019-01-29 21:49:25 +0000 |
|---|---|---|
| committer | Tom Lane | 2019-01-29 21:49:25 +0000 |
| commit | fa2cf164aaf91e074be653c28e035f65d80eb666 (patch) | |
| tree | f492596ab11137cf1cfa38400ebfa7d191d19eda /src/backend/statistics | |
| parent | f09346a9c6218dd239fdf3a79a729716c0d305bd (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/backend/statistics')
| -rw-r--r-- | src/backend/statistics/dependencies.c | 2 | ||||
| -rw-r--r-- | src/backend/statistics/extended_stats.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/backend/statistics/dependencies.c b/src/backend/statistics/dependencies.c index 13492ceb9ce..96916eafe1f 100644 --- a/src/backend/statistics/dependencies.c +++ b/src/backend/statistics/dependencies.c @@ -22,7 +22,7 @@ #include "optimizer/clauses.h" #include "optimizer/optimizer.h" #include "nodes/nodes.h" -#include "nodes/relation.h" +#include "nodes/pathnodes.h" #include "statistics/extended_stats_internal.h" #include "statistics/statistics.h" #include "utils/bytea.h" diff --git a/src/backend/statistics/extended_stats.c b/src/backend/statistics/extended_stats.c index 7f13e434a87..d429a531de8 100644 --- a/src/backend/statistics/extended_stats.c +++ b/src/backend/statistics/extended_stats.c @@ -22,7 +22,6 @@ #include "catalog/indexing.h" #include "catalog/pg_collation.h" #include "catalog/pg_statistic_ext.h" -#include "nodes/relation.h" #include "postmaster/autovacuum.h" #include "statistics/extended_stats_internal.h" #include "statistics/statistics.h" |
