Definition at line 2405 of file gininsert.c.
2406{
2407 int r;
2409 keyb;
2410
2411 if (
a->attrnum <
b->attrnum)
2412 return -1;
2413
2414 if (
a->attrnum >
b->attrnum)
2415 return 1;
2416
2417 if (
a->category <
b->category)
2418 return -1;
2419
2420 if (
a->category >
b->category)
2421 return 1;
2422
2424 {
2427
2429 keyb, false,
2430 &ssup[
a->attrnum - 1]);
2431
2432 /* if the key is the same, consider the first TID in the array */
2435 }
2436
2439}
static ItemPointer GinTupleGetFirst(GinTuple *tup)
static Datum _gin_parse_tuple_key(GinTuple *a)
int32 ItemPointerCompare(ItemPointer arg1, ItemPointer arg2)
static int ApplySortComparator(Datum datum1, bool isNull1, Datum datum2, bool isNull2, SortSupport ssup)
References _gin_parse_tuple_key(), a, ApplySortComparator(), b, GIN_CAT_NORM_KEY, GinTupleGetFirst(), and ItemPointerCompare().
Referenced by comparetup_index_gin().