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 /contrib | |
| 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 'contrib')
| -rw-r--r-- | contrib/bloom/bloom.h | 2 | ||||
| -rw-r--r-- | contrib/postgres_fdw/postgres_fdw.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/bloom/bloom.h b/contrib/bloom/bloom.h index 24200fb5fac..d641361aef1 100644 --- a/contrib/bloom/bloom.h +++ b/contrib/bloom/bloom.h @@ -17,7 +17,7 @@ #include "access/generic_xlog.h" #include "access/itup.h" #include "access/xlog.h" -#include "nodes/relation.h" +#include "nodes/pathnodes.h" #include "fmgr.h" /* Support procedures numbers */ diff --git a/contrib/postgres_fdw/postgres_fdw.h b/contrib/postgres_fdw/postgres_fdw.h index ce24c2a4d2c..3f501032853 100644 --- a/contrib/postgres_fdw/postgres_fdw.h +++ b/contrib/postgres_fdw/postgres_fdw.h @@ -15,7 +15,7 @@ #include "foreign/foreign.h" #include "lib/stringinfo.h" -#include "nodes/relation.h" +#include "nodes/pathnodes.h" #include "utils/relcache.h" #include "libpq-fe.h" |
