Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 2dd3840

Browse files
committed
Compatibility with PG 14
1 parent 31680b1 commit 2dd3840

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/rum.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,9 @@ extern void rumbuildempty(Relation index);
449449
extern bool ruminsert(Relation index, Datum *values, bool *isnull,
450450
ItemPointer ht_ctid, Relation heapRel,
451451
IndexUniqueCheck checkUnique
452+
#if PG_VERSION_NUM >= 140000
453+
, bool indexUnchanged
454+
#endif
452455
#if PG_VERSION_NUM >= 100000
453456
, struct IndexInfo *indexInfo
454457
#endif

src/ruminsert.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -818,6 +818,9 @@ bool
818818
ruminsert(Relation index, Datum *values, bool *isnull,
819819
ItemPointer ht_ctid, Relation heapRel,
820820
IndexUniqueCheck checkUnique
821+
#if PG_VERSION_NUM >= 140000
822+
, bool indexUnchanged
823+
#endif
821824
#if PG_VERSION_NUM >= 100000
822825
, struct IndexInfo *indexInfo
823826
#endif

0 commit comments

Comments
 (0)