8000 Prepare the insert_index routine for PGv14 signature · postgrespro/aqo@dc2e28a · GitHub
[go: up one dir, main page]

Skip to content

Commit dc2e28a

Browse files
committed
Prepare the insert_index routine for PGv14 signature
1 parent cef2128 commit dc2e28a
< 8000 div class="prc-PageLayout-Pane-Vl5LI" data-resizable="true" style="--spacing:var(--spacing-normal);--pane-min-width:256px;--pane-max-width:calc(100vw - var(--pane-max-width-diff));--pane-width-size:var(--pane-width-medium);--pane-width:296px">

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)
0