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/tablefunc/tablefunc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'contrib/tablefunc/tablefunc.c') diff --git a/contrib/tablefunc/tablefunc.c b/contrib/tablefunc/tablefunc.c index dc7924733c..5829c84111 100644 --- a/contrib/tablefunc/tablefunc.c +++ b/contrib/tablefunc/tablefunc.c @@ -1,5 +1,5 @@ /* - * $PostgreSQL: pgsql/contrib/tablefunc/tablefunc.c,v 1.58 2009/01/01 17:23:32 momjian Exp $ + * $PostgreSQL: pgsql/contrib/tablefunc/tablefunc.c,v 1.59 2009/01/07 13:44:36 tgl Exp $ * * * tablefunc @@ -34,6 +34,7 @@ #include +#include "catalog/pg_type.h" #include "fmgr.h" #include "funcapi.h" #include "executor/spi.h" -- cgit v1.2.3