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/pl/plperl/plperl.c | |
parent | b09f930d2eec6ed2427786d9aa64c1206859774d (diff) | |
download | postgresql-1cfd9e88349fc259d17914ccfd4eaf7bb7f7d141.tar.gz postgresql-1cfd9e88349fc259d17914ccfd4eaf7bb7f7d141.zip |
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/pl/plperl/plperl.c')
-rw-r--r-- | src/pl/plperl/plperl.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/pl/plperl/plperl.c b/src/pl/plperl/plperl.c index e2df129f52b..8dcbf09a48c 100644 --- a/src/pl/plperl/plperl.c +++ b/src/pl/plperl/plperl.c @@ -1,7 +1,7 @@ /********************************************************************** * plperl.c - perl as a procedural language for PostgreSQL * - * $PostgreSQL: pgsql/src/pl/plperl/plperl.c,v 1.143 2008/12/11 07:34:09 petere Exp $ + * $PostgreSQL: pgsql/src/pl/plperl/plperl.c,v 1.144 2009/01/07 13:44:37 tgl Exp $ * **********************************************************************/ @@ -16,6 +16,10 @@ #include <locale.h> /* postgreSQL stuff */ +#include "access/xact.h" +#include "catalog/pg_language.h" +#include "catalog/pg_proc.h" +#include "catalog/pg_type.h" #include "commands/trigger.h" #include "executor/spi.h" #include "funcapi.h" @@ -23,12 +27,14 @@ #include "miscadmin.h" #include "nodes/makefuncs.h" #include "parser/parse_type.h" +#include "utils/builtins.h" #include "utils/fmgroids.h" #include "utils/guc.h" +#include "utils/hsearch.h" #include "utils/lsyscache.h" #include "utils/memutils.h" +#include "utils/syscache.h" #include "utils/typcache.h" -#include "utils/hsearch.h" /* define our text domain for translations */ #undef TEXTDOMAIN |