From 4fd348a1e9da04ae6af7f6ae82f1fda0278e5b37 Mon Sep 17 00:00:00 2001 From: Christoph Berg Date: Fri, 29 Jul 2022 18:05:55 +0200 Subject: [PATCH] Fix include of optimizer/appendinfo.h on PG 10/11 (#235) optimizer/appendinfo.h is only available in PG 12+. This extends the fix for #231. --- ogr_fdw.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ogr_fdw.h b/ogr_fdw.h index 0e8c5dd..b5a5388 100644 --- a/ogr_fdw.h +++ b/ogr_fdw.h @@ -40,7 +40,6 @@ #include "miscadmin.h" #include "nodes/makefuncs.h" #include "nodes/nodeFuncs.h" -#include "optimizer/appendinfo.h" #include "optimizer/clauses.h" #include "optimizer/cost.h" #include "optimizer/pathnode.h" @@ -62,6 +61,7 @@ #include "optimizer/var.h" #else #include "executor/tuptable.h" +#include "optimizer/appendinfo.h" #endif #ifdef PACKAGE_URL