diff options
author | Andres Freund <andres@anarazel.de> | 2019-01-21 10:18:20 -0800 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2019-01-21 10:51:37 -0800 |
commit | 111944c5ee567f1c45bf0f1ecfdec682af467aa6 (patch) | |
tree | 26874b7be80065453d8571cfd9ab0c8bf21ad7b2 /src/backend/executor | |
parent | 4b21acf522d751ba5b6679df391d5121b6c4a35f (diff) | |
download | postgresql-111944c5ee567f1c45bf0f1ecfdec682af467aa6.tar.gz postgresql-111944c5ee567f1c45bf0f1ecfdec682af467aa6.zip |
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 'src/backend/executor')
-rw-r--r-- | src/backend/executor/execPartition.c | 2 | ||||
-rw-r--r-- | src/backend/executor/execUtils.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/executor/execPartition.c b/src/backend/executor/execPartition.c index 7415dfa45eb..93e4b287970 100644 --- a/src/backend/executor/execPartition.c +++ b/src/backend/executor/execPartition.c @@ -13,7 +13,7 @@ */ #include "postgres.h" -#include "access/heapam.h" +#include "access/table.h" #include "catalog/partition.h" #include "catalog/pg_inherits.h" #include "catalog/pg_type.h" diff --git a/src/backend/executor/execUtils.c b/src/backend/executor/execUtils.c index d914d4b5006..146ca6e0532 100644 --- a/src/backend/executor/execUtils.c +++ b/src/backend/executor/execUtils.c @@ -45,9 +45,9 @@ #include "postgres.h" -#include "access/heapam.h" #include "access/parallel.h" #include "access/relscan.h" +#include "access/table.h" #include "access/transam.h" #include "executor/executor.h" #include "jit/jit.h" |