Skip to content

Commit 1138830

Browse files
committed
reliably turn off fast insert
1 parent 7212340 commit 1138830

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ruminsert.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -819,6 +819,7 @@ ruminsert(Relation index, Datum *values, bool *isnull,
819819
outerAddInfoIsNull = isnull[rumstate.attrnOrderByColumn - 1];
820820
}
821821

822+
#ifdef NOT_USED
822823
if (RumGetUseFastUpdate(index))
823824
{
824825
RumTupleCollector collector;
@@ -834,6 +835,7 @@ ruminsert(Relation index, Datum *values, bool *isnull,
834835
rumHeapTupleFastInsert(&rumstate, &collector);
835836
}
836837
else
838+
#endif
837839
{
838840
for (i = 0; i < rumstate.origTupdesc->natts; i++)
839841
rumHeapTupleInsert(&rumstate, (OffsetNumber) (i + 1),

0 commit comments

Comments
 (0)