Skip to content

Commit

Permalink
Compatibility with PG 14
Browse files Browse the repository at this point in the history
  • Loading branch information
pashkinelfe committed Oct 8, 2021
1 parent 31680b1 commit 2dd3840
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/rum.h
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,9 @@ extern void rumbuildempty(Relation index);
extern bool ruminsert(Relation index, Datum *values, bool *isnull,
ItemPointer ht_ctid, Relation heapRel,
IndexUniqueCheck checkUnique
#if PG_VERSION_NUM >= 140000
, bool indexUnchanged
#endif
#if PG_VERSION_NUM >= 100000
, struct IndexInfo *indexInfo
#endif
Expand Down
3 changes: 3 additions & 0 deletions src/ruminsert.c
Original file line number Diff line number Diff line change
Expand Up @@ -818,6 +818,9 @@ bool
ruminsert(Relation index, Datum *values, bool *isnull,
ItemPointer ht_ctid, Relation heapRel,
IndexUniqueCheck checkUnique
#if PG_VERSION_NUM >= 140000
, bool indexUnchanged
#endif
#if PG_VERSION_NUM >= 100000
, struct IndexInfo *indexInfo
#endif
Expand Down

0 comments on commit 2dd3840

Please sign in to comment.