diff options
author | Bruce Momjian <bruce@momjian.us> | 2006-07-13 16:49:20 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2006-07-13 16:49:20 +0000 |
commit | a22d76d96adaa98ab20de290a1b710a199805ddc (patch) | |
tree | 0c54c219cae248d98b5fffb1189ac5af559468b7 /src/backend/executor | |
parent | 70e2e3d8b1189c2c74007b39137ba475ae9f1cbb (diff) | |
download | postgresql-a22d76d96adaa98ab20de290a1b710a199805ddc.tar.gz postgresql-a22d76d96adaa98ab20de290a1b710a199805ddc.zip |
Allow include files to compile own their own.
Strip unused include files out unused include files, and add needed
includes to C files.
The next step is to remove unused include files in C files.
Diffstat (limited to 'src/backend/executor')
-rw-r--r-- | src/backend/executor/execMain.c | 4 | ||||
-rw-r--r-- | src/backend/executor/functions.c | 3 | ||||
-rw-r--r-- | src/backend/executor/nodeAgg.c | 3 | ||||
-rw-r--r-- | src/backend/executor/nodeHash.c | 5 | ||||
-rw-r--r-- | src/backend/executor/nodeSubplan.c | 4 |
5 files changed, 14 insertions, 5 deletions
diff --git a/src/backend/executor/execMain.c b/src/backend/executor/execMain.c index 6ecae971d98..9972b790295 100644 --- a/src/backend/executor/execMain.c +++ b/src/backend/executor/execMain.c @@ -26,7 +26,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/executor/execMain.c,v 1.274 2006/07/11 16:35:31 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/executor/execMain.c,v 1.275 2006/07/13 16:49:14 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -34,6 +34,8 @@ #include "access/heapam.h" #include "access/reloptions.h" +#include "access/transam.h" +#include "access/xact.h" #include "access/xlog.h" #include "catalog/heap.h" #include "catalog/namespace.h" diff --git a/src/backend/executor/functions.c b/src/backend/executor/functions.c index 92e43c1dc57..e5f44c29c76 100644 --- a/src/backend/executor/functions.c +++ b/src/backend/executor/functions.c @@ -8,13 +8,14 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/executor/functions.c,v 1.102 2006/04/22 01:25:58 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/executor/functions.c,v 1.103 2006/07/13 16:49:15 momjian Exp $ * *------------------------------------------------------------------------- */ #include "postgres.h" #include "access/heapam.h" +#include "access/xact.h" #include "catalog/pg_proc.h" #include "catalog/pg_type.h" #include "commands/trigger.h" diff --git a/src/backend/executor/nodeAgg.c b/src/backend/executor/nodeAgg.c index 25d763a4f71..d36af0859fd 100644 --- a/src/backend/executor/nodeAgg.c +++ b/src/backend/executor/nodeAgg.c @@ -61,7 +61,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/executor/nodeAgg.c,v 1.142 2006/06/28 19:40:52 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/executor/nodeAgg.c,v 1.143 2006/07/13 16:49:15 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -72,6 +72,7 @@ #include "catalog/pg_aggregate.h" #include "catalog/pg_operator.h" #include "catalog/pg_proc.h" +#include "catalog/pg_type.h" #include "executor/executor.h" #include "executor/nodeAgg.h" #include "miscadmin.h" diff --git a/src/backend/executor/nodeHash.c b/src/backend/executor/nodeHash.c index 3c8de3f5e7f..cd1c2fd8671 100644 --- a/src/backend/executor/nodeHash.c +++ b/src/backend/executor/nodeHash.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/executor/nodeHash.c,v 1.104 2006/06/27 21:31:20 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/executor/nodeHash.c,v 1.105 2006/07/13 16:49:15 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -18,6 +18,9 @@ * ExecInitHash - initialize node and subnodes * ExecEndHash - shutdown node and subnodes */ + +#include <math.h> + #include "postgres.h" #include "executor/execdebug.h" diff --git a/src/backend/executor/nodeSubplan.c b/src/backend/executor/nodeSubplan.c index 593eff4a5f9..528408aae6b 100644 --- a/src/backend/executor/nodeSubplan.c +++ b/src/backend/executor/nodeSubplan.c @@ -7,7 +7,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/executor/nodeSubplan.c,v 1.76 2006/06/28 17:05:49 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/executor/nodeSubplan.c,v 1.77 2006/07/13 16:49:15 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -17,6 +17,8 @@ * ExecInitSubPlan - initialize a subselect * ExecEndSubPlan - shut down a subselect */ +#include <math.h> + #include "postgres.h" #include "access/heapam.h" |