From 1cfd9e88349fc259d17914ccfd4eaf7bb7f7d141 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Wed, 7 Jan 2009 13:44:37 +0000 Subject: 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. --- contrib/xml2/xpath.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'contrib/xml2/xpath.c') 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 */ -- cgit v1.2.3