File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -346,7 +346,7 @@ struct Tuplesortstate
346346
347347 /*
348348 * This variable is shared by the single-key MinimalTuple case and the
349- * Datum case. Otherwise it's NULL.
349+ * Datum case (which both use qsort_ssup()) . Otherwise it's NULL.
350350 */
351351 SortSupport onlyKey ;
352352
@@ -500,8 +500,11 @@ static void reversedirection_datum(Tuplesortstate *state);
500500static void free_sort_tuple (Tuplesortstate * state , SortTuple * stup );
501501
502502/*
503- * Special versions of qsort just for SortTuple objects. We have one for the
504- * single-key case (qsort_ssup) and one for multi-key cases (qsort_tuple).
503+ * Special versions of qsort just for SortTuple objects. qsort_tuple() sorts
504+ * any variant of SortTuples, using the appropriate comparetup function.
505+ * qsort_ssup() is specialized for the case where the comparetup function
506+ * reduces to ApplySortComparator(), that is single-key MinimalTuple sorts
507+ * and Datum sorts.
505508 */
506509#include "qsort_tuple.c"
507510
You can’t perform that action at this time.
0 commit comments