201 Datum datum2,
bool isNull2,
234 Datum datum2,
bool isNull2,
257 compare = datum1 < datum2 ? -1 : datum1 > datum2 ? 1 : 0;
265 #if SIZEOF_DATUM >= 8
267 ApplySignedSortComparator(
Datum datum1,
bool isNull1,
268 Datum datum2,
bool isNull2,
303 Datum datum2,
bool isNull2,
342 Datum datum2,
bool isNull2,
379 #if SIZEOF_DATUM >= 8
#define INVERT_COMPARE_RESULT(var)
static int compare(const void *arg1, const void *arg2)
static int64 DatumGetInt64(Datum X)
static int32 DatumGetInt32(Datum X)
static int ApplySortAbbrevFullComparator(Datum datum1, bool isNull1, Datum datum2, bool isNull2, SortSupport ssup)
struct SortSupportData SortSupportData
struct SortSupportData * SortSupport
int ssup_datum_unsigned_cmp(Datum x, Datum y, SortSupport ssup)
static int ApplySortComparator(Datum datum1, bool isNull1, Datum datum2, bool isNull2, SortSupport ssup)
void PrepareSortSupportFromGistIndexRel(Relation indexRel, SortSupport ssup)
static int ApplyUnsignedSortComparator(Datum datum1, bool isNull1, Datum datum2, bool isNull2, SortSupport ssup)
int ssup_datum_int32_cmp(Datum x, Datum y, SortSupport ssup)
void PrepareSortSupportComparisonShim(Oid cmpFunc, SortSupport ssup)
static int ApplyInt32SortComparator(Datum datum1, bool isNull1, Datum datum2, bool isNull2, SortSupport ssup)
void PrepareSortSupportFromOrderingOp(Oid orderingOp, SortSupport ssup)
void PrepareSortSupportFromIndexRel(Relation indexRel, int16 strategy, SortSupport ssup)
int(* comparator)(Datum x, Datum y, SortSupport ssup)
Datum(* abbrev_converter)(Datum original, SortSupport ssup)
int(* abbrev_full_comparator)(Datum x, Datum y, SortSupport ssup)
bool(* abbrev_abort)(int memtupcount, SortSupport ssup)