From f9ef578d050c509d0f4bc02b3c0a3a0497056a2a Mon Sep 17 00:00:00 2001 From: Alvaro Herrera <alvherre@alvh.no-ip.org> Date: Fri, 14 Nov 2014 21:48:53 -0300 Subject: [PATCH] postgres_fdw.h: don't pull in rel.h when relcache.h is enough --- contrib/postgres_fdw/deparse.c | 1 + contrib/postgres_fdw/postgres_fdw.c | 1 + contrib/postgres_fdw/postgres_fdw.h | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/contrib/postgres_fdw/deparse.c b/contrib/postgres_fdw/deparse.c index 2045774f24f..7992191f79d 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 4c497768257..905a821ad07 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 94eadae8916..0382c5572fc 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" -- GitLab