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

Commit 5127211

Browse files
committed
Prepare the insert_index routine for PGv14 signature
1 parent 2db2a3c commit 5127211

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

storage.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -968,10 +968,14 @@ my_index_insert(Relation indexRelation,
968968
#if PG_VERSION_NUM < 100000
969969
return index_insert(indexRelation, values, isnull, heap_t_ctid,
970970
heapRelation, checkUnique);
971-
#else
971+
#elif PG_VERSION_NUM < 140000
972972
return index_insert(indexRelation, values, isnull, heap_t_ctid,
973973
heapRelation, checkUnique,
974974
BuildIndexInfo(indexRelation));
975+
#else
976+
return index_insert(indexRelation, values, isnull, heap_t_ctid,
977+
heapRelation, checkUnique, false,
978+
BuildIndexInfo(indexRelation));
975979
#endif
976980
}
977981

0 commit comments

Comments
 (0)