Skip to content

Commit

Permalink
fix: support Postgresql 12
Browse files Browse the repository at this point in the history
  • Loading branch information
robinbowes committed Jun 21, 2023
1 parent 4474ab0 commit a70a976
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions treasuredata_fdw.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,15 @@

#include "foreign/foreign.h"
#include "lib/stringinfo.h"

#if PG_VERSION_NUM < 120000
#include "nodes/relation.h"
#endif

#if PG_VERSION_NUM >= 120000
#include "access/relation.h"
#endif

#include "utils/relcache.h"

typedef struct TdFdwOption
Expand Down

0 comments on commit a70a976

Please sign in to comment.