diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2015-08-11 13:03:14 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2015-08-11 13:03:14 -0300 |
commit | 4901b2f49536f439f79d067a9b30a7a837d6c72b (patch) | |
tree | 0d1bb97ac484b4d32e4be544f9d3b3c58049fa73 | |
parent | 750fc78bca7c5cff7459d02315cf7fed4f4ce3a9 (diff) | |
download | postgresql-4901b2f49536f439f79d067a9b30a7a837d6c72b.tar.gz postgresql-4901b2f49536f439f79d067a9b30a7a837d6c72b.zip |
Don't include rel.h when relcache.h is sufficient
Trivial change to reduce exposure of rel.h.
-rw-r--r-- | src/backend/replication/logical/reorderbuffer.c | 2 | ||||
-rw-r--r-- | src/include/replication/reorderbuffer.h | 5 |
2 files changed, 2 insertions, 5 deletions
diff --git a/src/backend/replication/logical/reorderbuffer.c b/src/backend/replication/logical/reorderbuffer.c index 478c3e874af..cdc7bd7d51d 100644 --- a/src/backend/replication/logical/reorderbuffer.c +++ b/src/backend/replication/logical/reorderbuffer.c @@ -69,7 +69,7 @@ #include "utils/combocid.h" #include "utils/memdebug.h" #include "utils/memutils.h" -#include "utils/relcache.h" +#include "utils/rel.h" #include "utils/relfilenodemap.h" #include "utils/tqual.h" diff --git a/src/include/replication/reorderbuffer.h b/src/include/replication/reorderbuffer.h index 110e78e7a8e..c9a11db78da 100644 --- a/src/include/replication/reorderbuffer.h +++ b/src/include/replication/reorderbuffer.h @@ -10,13 +10,10 @@ #define REORDERBUFFER_H #include "access/htup_details.h" - #include "lib/ilist.h" - #include "storage/sinval.h" - #include "utils/hsearch.h" -#include "utils/rel.h" +#include "utils/relcache.h" #include "utils/snapshot.h" #include "utils/timestamp.h" |