diff options
| author | Bruce Momjian | 2006-07-13 16:49:20 +0000 |
|---|---|---|
| committer | Bruce Momjian | 2006-07-13 16:49:20 +0000 |
| commit | a22d76d96adaa98ab20de290a1b710a199805ddc (patch) | |
| tree | 0c54c219cae248d98b5fffb1189ac5af559468b7 /src/backend/tcop | |
| parent | 70e2e3d8b1189c2c74007b39137ba475ae9f1cbb (diff) | |
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/tcop')
| -rw-r--r-- | src/backend/tcop/fastpath.c | 3 | ||||
| -rw-r--r-- | src/backend/tcop/postgres.c | 3 | ||||
| -rw-r--r-- | src/backend/tcop/pquery.c | 3 | ||||
| -rw-r--r-- | src/backend/tcop/utility.c | 3 |
4 files changed, 8 insertions, 4 deletions
diff --git a/src/backend/tcop/fastpath.c b/src/backend/tcop/fastpath.c index c982b8fb00a..ac34291d29a 100644 --- a/src/backend/tcop/fastpath.c +++ b/src/backend/tcop/fastpath.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/tcop/fastpath.c,v 1.89 2006/07/11 16:35:32 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/tcop/fastpath.c,v 1.90 2006/07/13 16:49:16 momjian Exp $ * * NOTES * This cruft is the server side of PQfn. @@ -20,6 +20,7 @@ #include <netinet/in.h> #include <arpa/inet.h> +#include "access/xact.h" #include "catalog/pg_proc.h" #include "libpq/libpq.h" #include "libpq/pqformat.h" diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index 8427b34920d..06fa6d61995 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.490 2006/06/27 22:16:44 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/tcop/postgres.c,v 1.491 2006/07/13 16:49:16 momjian Exp $ * * NOTES * this is the "main" module of the postgres backend and @@ -31,6 +31,7 @@ #endif #include "access/printtup.h" +#include "access/xact.h" #include "access/xlog.h" #include "catalog/pg_type.h" #include "commands/async.h" diff --git a/src/backend/tcop/pquery.c b/src/backend/tcop/pquery.c index 261c26449ea..61f7686be1b 100644 --- a/src/backend/tcop/pquery.c +++ b/src/backend/tcop/pquery.c @@ -8,13 +8,14 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/tcop/pquery.c,v 1.103 2006/07/11 17:26:59 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/tcop/pquery.c,v 1.104 2006/07/13 16:49:16 momjian Exp $ * *------------------------------------------------------------------------- */ #include "postgres.h" +#include "access/xact.h" #include "commands/prepare.h" #include "commands/trigger.h" #include "executor/executor.h" diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index 4a09bfaf6a4..37a03a46ff8 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -10,7 +10,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/tcop/utility.c,v 1.260 2006/07/11 18:26:11 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/tcop/utility.c,v 1.261 2006/07/13 16:49:16 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -18,6 +18,7 @@ #include "access/heapam.h" #include "access/twophase.h" +#include "access/xact.h" #include "catalog/catalog.h" #include "catalog/namespace.h" #include "commands/alter.h" |
