summaryrefslogtreecommitdiff
path: root/contrib/dblink
diff options
context:
space:
mode:
authorAndres Freund2019-01-21 18:18:20 +0000
committerAndres Freund2019-01-21 18:51:37 +0000
commit111944c5ee567f1c45bf0f1ecfdec682af467aa6 (patch)
tree26874b7be80065453d8571cfd9ab0c8bf21ad7b2 /contrib/dblink
parent4b21acf522d751ba5b6679df391d5121b6c4a35f (diff)
Replace heapam.h includes with {table, relation}.h where applicable.
A lot of files only included heapam.h for relation_open, heap_open etc - replace the heapam.h include in those files with the narrower header. Author: Andres Freund Discussion: https://postgr.es/m/20190111000539.xbv7s6w7ilcvm7dp@alap3.anarazel.de
Diffstat (limited to 'contrib/dblink')
-rw-r--r--contrib/dblink/dblink.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/dblink/dblink.c b/contrib/dblink/dblink.c
index 203f6fd3f01..5092aba3e42 100644
--- a/contrib/dblink/dblink.c
+++ b/contrib/dblink/dblink.c
@@ -37,8 +37,9 @@
#include "libpq-fe.h"
#include "access/htup_details.h"
+#include "access/relation.h"
#include "access/reloptions.h"
-#include "access/heapam.h"
+#include "access/table.h"
#include "catalog/indexing.h"
#include "catalog/namespace.h"
#include "catalog/pg_foreign_data_wrapper.h"