diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2009-01-07 13:44:37 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2009-01-07 13:44:37 +0000 |
commit | 1cfd9e88349fc259d17914ccfd4eaf7bb7f7d141 (patch) | |
tree | d1a204c32625761f4c36cc02bf9a83af32eb8748 /src/include/executor | |
parent | b09f930d2eec6ed2427786d9aa64c1206859774d (diff) | |
download | postgresql-1cfd9e88349fc259d17914ccfd4eaf7bb7f7d141.tar.gz |
Fix executor/spi.h to follow our usual conventions for include files, ie,
not include postgres.h nor anything else it doesn't directly need. Add
#includes to calling files as needed to compensate. Per my proposal of
yesterday.
This should be noted as a source code change in the 8.4 release notes,
since it's likely to require changes in add-on modules.
Diffstat (limited to 'src/include/executor')
-rw-r--r-- | src/include/executor/spi.h | 33 |
1 files changed, 3 insertions, 30 deletions
diff --git a/src/include/executor/spi.h b/src/include/executor/spi.h index 7966fe3dc1..c28730c425 100644 --- a/src/include/executor/spi.h +++ b/src/include/executor/spi.h @@ -6,44 +6,17 @@ * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/executor/spi.h,v 1.68 2009/01/01 17:23:59 momjian Exp $ + * $PostgreSQL: pgsql/src/include/executor/spi.h,v 1.69 2009/01/07 13:44:37 tgl Exp $ * *------------------------------------------------------------------------- */ #ifndef SPI_H #define SPI_H -/* - * This file may be used by client modules that haven't already - * included postgres.h - */ -#include "postgres.h" - -/* - * Most of these are not needed by this file, but may be used by - * user-written code that uses SPI - */ -#include "access/heapam.h" -#include "access/xact.h" -#include "catalog/pg_language.h" -#include "catalog/pg_proc.h" -#include "catalog/pg_type.h" -#include "executor/execdefs.h" -#include "executor/executor.h" -#include "nodes/execnodes.h" -#include "nodes/params.h" #include "nodes/parsenodes.h" -#include "nodes/plannodes.h" -#include "nodes/primnodes.h" -#include "nodes/relation.h" -#include "tcop/dest.h" -#include "tcop/pquery.h" -#include "tcop/tcopprot.h" -#include "tcop/utility.h" -#include "utils/builtins.h" -#include "utils/datum.h" #include "utils/portal.h" -#include "utils/syscache.h" +#include "utils/relcache.h" +#include "utils/snapshot.h" typedef struct SPITupleTable |