diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2012-08-30 16:15:44 -0400 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2012-08-30 16:52:35 -0400 |
commit | c219d9b0a55bcdf81b00da6bad24ac2bf3e53d20 (patch) | |
tree | d3130101cfa437376e15c1d0d835e102e439104a /src/backend/executor | |
parent | 381a9ed66d8a601eb972be172e7251ca7f0e9d78 (diff) | |
download | postgresql-c219d9b0a55bcdf81b00da6bad24ac2bf3e53d20.tar.gz |
Split tuple struct defs from htup.h to htup_details.h
This reduces unnecessary exposure of other headers through htup.h, which
is very widely included by many files.
I have chosen to move the function prototypes to the new file as well,
because that means htup.h no longer needs to include tupdesc.h. In
itself this doesn't have much effect in indirect inclusion of tupdesc.h
throughout the tree, because it's also required by execnodes.h; but it's
something to explore in the future, and it seemed best to do the htup.h
change now while I'm busy with it.
Diffstat (limited to 'src/backend/executor')
-rw-r--r-- | src/backend/executor/execAmi.c | 1 | ||||
-rw-r--r-- | src/backend/executor/execMain.c | 1 | ||||
-rw-r--r-- | src/backend/executor/execQual.c | 1 | ||||
-rw-r--r-- | src/backend/executor/execTuples.c | 1 | ||||
-rw-r--r-- | src/backend/executor/functions.c | 1 | ||||
-rw-r--r-- | src/backend/executor/nodeAgg.c | 1 | ||||
-rw-r--r-- | src/backend/executor/nodeHash.c | 1 | ||||
-rw-r--r-- | src/backend/executor/nodeHashjoin.c | 1 | ||||
-rw-r--r-- | src/backend/executor/nodeLockRows.c | 1 | ||||
-rw-r--r-- | src/backend/executor/nodeModifyTable.c | 1 | ||||
-rw-r--r-- | src/backend/executor/nodeSetOp.c | 1 | ||||
-rw-r--r-- | src/backend/executor/nodeSubplan.c | 1 | ||||
-rw-r--r-- | src/backend/executor/nodeWindowAgg.c | 1 | ||||
-rw-r--r-- | src/backend/executor/spi.c | 1 |
14 files changed, 14 insertions, 0 deletions
diff --git a/src/backend/executor/execAmi.c b/src/backend/executor/execAmi.c index e54d51e3d2..cf4943d8be 100644 --- a/src/backend/executor/execAmi.c +++ b/src/backend/executor/execAmi.c @@ -12,6 +12,7 @@ */ #include "postgres.h" +#include "access/htup_details.h" #include "executor/execdebug.h" #include "executor/nodeAgg.h" #include "executor/nodeAppend.h" diff --git a/src/backend/executor/execMain.c b/src/backend/executor/execMain.c index 440438b180..d966be543e 100644 --- a/src/backend/executor/execMain.c +++ b/src/backend/executor/execMain.c @@ -37,6 +37,7 @@ */ #include "postgres.h" +#include "access/htup_details.h" #include "access/sysattr.h" #include "access/transam.h" #include "access/xact.h" diff --git a/src/backend/executor/execQual.c b/src/backend/executor/execQual.c index 85c8d15560..56b106abda 100644 --- a/src/backend/executor/execQual.c +++ b/src/backend/executor/execQual.c @@ -36,6 +36,7 @@ #include "postgres.h" +#include "access/htup_details.h" #include "access/nbtree.h" #include "access/tupconvert.h" #include "catalog/pg_type.h" diff --git a/src/backend/executor/execTuples.c b/src/backend/executor/execTuples.c index e755e7c4f0..530ddff462 100644 --- a/src/backend/executor/execTuples.c +++ b/src/backend/executor/execTuples.c @@ -88,6 +88,7 @@ */ #include "postgres.h" +#include "access/htup_details.h" #include "funcapi.h" #include "catalog/pg_type.h" #include "nodes/nodeFuncs.h" diff --git a/src/backend/executor/functions.c b/src/backend/executor/functions.c index fc0bcb4bce..c90521246a 100644 --- a/src/backend/executor/functions.c +++ b/src/backend/executor/functions.c @@ -14,6 +14,7 @@ */ #include "postgres.h" +#include "access/htup_details.h" #include "access/xact.h" #include "catalog/pg_proc.h" #include "catalog/pg_type.h" diff --git a/src/backend/executor/nodeAgg.c b/src/backend/executor/nodeAgg.c index c9aa921103..38c71415fb 100644 --- a/src/backend/executor/nodeAgg.c +++ b/src/backend/executor/nodeAgg.c @@ -78,6 +78,7 @@ #include "postgres.h" +#include "access/htup_details.h" #include "catalog/pg_aggregate.h" #include "catalog/pg_proc.h" #include "catalog/pg_type.h" diff --git a/src/backend/executor/nodeHash.c b/src/backend/executor/nodeHash.c index cabe663a96..c90fe40b3c 100644 --- a/src/backend/executor/nodeHash.c +++ b/src/backend/executor/nodeHash.c @@ -24,6 +24,7 @@ #include <math.h> #include <limits.h> +#include "access/htup_details.h" #include "catalog/pg_statistic.h" #include "commands/tablespace.h" #include "executor/execdebug.h" diff --git a/src/backend/executor/nodeHashjoin.c b/src/backend/executor/nodeHashjoin.c index 0ea490b578..5bcf5f1f8b 100644 --- a/src/backend/executor/nodeHashjoin.c +++ b/src/backend/executor/nodeHashjoin.c @@ -15,6 +15,7 @@ #include "postgres.h" +#include "access/htup_details.h" #include "executor/executor.h" #include "executor/hashjoin.h" #include "executor/nodeHash.h" diff --git a/src/backend/executor/nodeLockRows.c b/src/backend/executor/nodeLockRows.c index d2a33cb356..ec0825b460 100644 --- a/src/backend/executor/nodeLockRows.c +++ b/src/backend/executor/nodeLockRows.c @@ -21,6 +21,7 @@ #include "postgres.h" +#include "access/htup_details.h" #include "access/xact.h" #include "executor/executor.h" #include "executor/nodeLockRows.h" diff --git a/src/backend/executor/nodeModifyTable.c b/src/backend/executor/nodeModifyTable.c index a7bce75f0c..26a59d0121 100644 --- a/src/backend/executor/nodeModifyTable.c +++ b/src/backend/executor/nodeModifyTable.c @@ -37,6 +37,7 @@ #include "postgres.h" +#include "access/htup_details.h" #include "access/xact.h" #include "commands/trigger.h" #include "executor/executor.h" diff --git a/src/backend/executor/nodeSetOp.c b/src/backend/executor/nodeSetOp.c index 362f4466e4..cd3e4e277c 100644 --- a/src/backend/executor/nodeSetOp.c +++ b/src/backend/executor/nodeSetOp.c @@ -44,6 +44,7 @@ #include "postgres.h" +#include "access/htup_details.h" #include "executor/executor.h" #include "executor/nodeSetOp.h" #include "utils/memutils.h" diff --git a/src/backend/executor/nodeSubplan.c b/src/backend/executor/nodeSubplan.c index 474758140b..d615b78373 100644 --- a/src/backend/executor/nodeSubplan.c +++ b/src/backend/executor/nodeSubplan.c @@ -21,6 +21,7 @@ #include <limits.h> #include <math.h> +#include "access/htup_details.h" #include "executor/executor.h" #include "executor/nodeSubplan.h" #include "nodes/makefuncs.h" diff --git a/src/backend/executor/nodeWindowAgg.c b/src/backend/executor/nodeWindowAgg.c index ce89ff2ebf..ade9b57d28 100644 --- a/src/backend/executor/nodeWindowAgg.c +++ b/src/backend/executor/nodeWindowAgg.c @@ -33,6 +33,7 @@ */ #include "postgres.h" +#include "access/htup_details.h" #include "catalog/pg_aggregate.h" #include "catalog/pg_proc.h" #include "catalog/pg_type.h" diff --git a/src/backend/executor/spi.c b/src/backend/executor/spi.c index 7c0da8873a..70d6004905 100644 --- a/src/backend/executor/spi.c +++ b/src/backend/executor/spi.c @@ -14,6 +14,7 @@ */ #include "postgres.h" +#include "access/htup_details.h" #include "access/printtup.h" #include "access/sysattr.h" #include "access/xact.h" |