summaryrefslogtreecommitdiff
path: root/contrib/pg_prewarm/autoprewarm.c
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/pg_prewarm/autoprewarm.c
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/[email protected]
Diffstat (limited to 'contrib/pg_prewarm/autoprewarm.c')
-rw-r--r--contrib/pg_prewarm/autoprewarm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/pg_prewarm/autoprewarm.c b/contrib/pg_prewarm/autoprewarm.c
index 45a5a26337e..9cc4b2dc837 100644
--- a/contrib/pg_prewarm/autoprewarm.c
+++ b/contrib/pg_prewarm/autoprewarm.c
@@ -28,7 +28,7 @@
#include <unistd.h>
-#include "access/heapam.h"
+#include "access/relation.h"
#include "access/xact.h"
#include "catalog/pg_class.h"
#include "catalog/pg_type.h"