From: Alvaro Herrera Date: Sat, 15 Nov 2014 00:48:53 +0000 (-0300) Subject: postgres_fdw.h: don't pull in rel.h when relcache.h is enough X-Git-Tag: REL9_5_ALPHA1~1204 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f9ef578d050c509d0f4bc02b3c0a3a0497056a2a;p=postgresql postgres_fdw.h: don't pull in rel.h when relcache.h is enough --- diff --git a/contrib/postgres_fdw/deparse.c b/contrib/postgres_fdw/deparse.c index 2045774f24..7992191f79 100644 --- a/contrib/postgres_fdw/deparse.c +++ b/contrib/postgres_fdw/deparse.c @@ -50,6 +50,7 @@ #include "parser/parsetree.h" #include "utils/builtins.h" #include "utils/lsyscache.h" +#include "utils/rel.h" #include "utils/syscache.h" diff --git a/contrib/postgres_fdw/postgres_fdw.c b/contrib/postgres_fdw/postgres_fdw.c index 4c49776825..905a821ad0 100644 --- a/contrib/postgres_fdw/postgres_fdw.c +++ b/contrib/postgres_fdw/postgres_fdw.c @@ -36,6 +36,7 @@ #include "utils/guc.h" #include "utils/lsyscache.h" #include "utils/memutils.h" +#include "utils/rel.h" PG_MODULE_MAGIC; diff --git a/contrib/postgres_fdw/postgres_fdw.h b/contrib/postgres_fdw/postgres_fdw.h index 94eadae891..0382c5572f 100644 --- a/contrib/postgres_fdw/postgres_fdw.h +++ b/contrib/postgres_fdw/postgres_fdw.h @@ -16,7 +16,7 @@ #include "foreign/foreign.h" #include "lib/stringinfo.h" #include "nodes/relation.h" -#include "utils/rel.h" +#include "utils/relcache.h" #include "libpq-fe.h"