Skip to content

Commit

Permalink
Fix include of optimizer/appendinfo.h on PG 10/11 (#235)
Browse files Browse the repository at this point in the history
optimizer/appendinfo.h is only available in PG 12+.

This extends the fix for #231.
  • Loading branch information
df7cb authored Jul 29, 2022
1 parent 50a8a9f commit 4fd348a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ogr_fdw.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -62,6 +61,7 @@
#include "optimizer/var.h"
#else
#include "executor/tuptable.h"
#include "optimizer/appendinfo.h"
#endif

#ifdef PACKAGE_URL
Expand Down

0 comments on commit 4fd348a

Please sign in to comment.