We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent7de75e1 commitf621e8cCopy full SHA for f621e8c
src/rumsort.c
@@ -3517,11 +3517,19 @@ comparetup_cluster(const SortTuple *a, const SortTuple *b,
3517
3518
ecxt_scantuple=GetPerTupleExprContext(state->estate)->ecxt_scantuple;
3519
3520
+#ifPG_VERSION_NUM >=120000
3521
+ExecStoreHeapTuple(ltup,ecxt_scantuple, false);
3522
+#else
3523
ExecStoreTuple(ltup,ecxt_scantuple,InvalidBuffer, false);
3524
+#endif
3525
FormIndexDatum(state->indexInfo,ecxt_scantuple,state->estate,
3526
l_index_values,l_index_isnull);
3527
3528
3529
+ExecStoreHeapTuple(rtup,ecxt_scantuple, false);
3530
3531
ExecStoreTuple(rtup,ecxt_scantuple,InvalidBuffer, false);
3532
3533
3534
r_index_values,r_index_isnull);
3535