diff options
| author | Tom Lane | 2009-01-07 13:44:37 +0000 |
|---|---|---|
| committer | Tom Lane | 2009-01-07 13:44:37 +0000 |
| commit | 1cfd9e88349fc259d17914ccfd4eaf7bb7f7d141 (patch) | |
| tree | d1a204c32625761f4c36cc02bf9a83af32eb8748 /contrib/xml2 | |
| parent | b09f930d2eec6ed2427786d9aa64c1206859774d (diff) | |
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 'contrib/xml2')
| -rw-r--r-- | contrib/xml2/xpath.c | 12 | ||||
| -rw-r--r-- | contrib/xml2/xslt_proc.c | 13 |
2 files changed, 15 insertions, 10 deletions
diff --git a/contrib/xml2/xpath.c b/contrib/xml2/xpath.c index b2f3342f737..d5244a1ce34 100644 --- a/contrib/xml2/xpath.c +++ b/contrib/xml2/xpath.c @@ -1,15 +1,17 @@ /* - * $PostgreSQL: pgsql/contrib/xml2/xpath.c,v 1.21 2008/10/29 00:00:38 tgl Exp $ + * $PostgreSQL: pgsql/contrib/xml2/xpath.c,v 1.22 2009/01/07 13:44:36 tgl Exp $ * * Parser interface for DOM-based parser (libxml) rather than - stream-based SAX-type parser */ - + * stream-based SAX-type parser + */ #include "postgres.h" -#include "fmgr.h" + #include "executor/spi.h" +#include "fmgr.h" #include "funcapi.h" -#include "miscadmin.h" #include "lib/stringinfo.h" +#include "miscadmin.h" +#include "utils/builtins.h" /* libxml includes */ diff --git a/contrib/xml2/xslt_proc.c b/contrib/xml2/xslt_proc.c index 425a9393337..4ca176ed2ec 100644 --- a/contrib/xml2/xslt_proc.c +++ b/contrib/xml2/xslt_proc.c @@ -1,14 +1,17 @@ /* - * $PostgreSQL: pgsql/contrib/xml2/xslt_proc.c,v 1.13 2008/05/17 01:28:22 adunstan Exp $ + * $PostgreSQL: pgsql/contrib/xml2/xslt_proc.c,v 1.14 2009/01/07 13:44:36 tgl Exp $ * - * XSLT processing functions (requiring libxslt) */ -/* John Gray, for Torchbox 2003-04-01 */ - + * XSLT processing functions (requiring libxslt) + * + * John Gray, for Torchbox 2003-04-01 + */ #include "postgres.h" -#include "fmgr.h" + #include "executor/spi.h" +#include "fmgr.h" #include "funcapi.h" #include "miscadmin.h" +#include "utils/builtins.h" /* libxml includes */ |
