Go to the source code of this file.
Definition at line 58 of file sortsupport.h.
Definition at line 300 of file sortsupport.h.
References compare(), DatumGetInt32(), INVERT_COMPARE_RESULT, SortSupportData::ssup_nulls_first, and SortSupportData::ssup_reverse.
Referenced by qsort_tuple_int32_compare().
Definition at line 266 of file sortsupport.h.
References compare(), DatumGetInt64(), INVERT_COMPARE_RESULT, SortSupportData::ssup_nulls_first, and SortSupportData::ssup_reverse.
Referenced by qsort_tuple_signed_compare().
Definition at line 339 of file sortsupport.h.
References SortSupportData::abbrev_full_comparator, compare(), INVERT_COMPARE_RESULT, SortSupportData::ssup_nulls_first, and SortSupportData::ssup_reverse.
Referenced by comparetup_cluster_tiebreak(), comparetup_datum_tiebreak(), comparetup_heap_tiebreak(), and comparetup_index_btree_tiebreak().
Definition at line 200 of file sortsupport.h.
References SortSupportData::comparator, compare(), INVERT_COMPARE_RESULT, SortSupportData::ssup_nulls_first, and SortSupportData::ssup_reverse.
Referenced by _bt_load(), _gin_compare_tuples(), compare_datums_simple(), compare_scalars(), comparetup_cluster(), comparetup_cluster_tiebreak(), comparetup_datum(), comparetup_heap(), comparetup_heap_tiebreak(), comparetup_index_btree(), comparetup_index_btree_tiebreak(), GinBufferKeyEquals(), heap_compare_slots(), MJCompare(), multi_sort_compare(), multi_sort_compare_dim(), multi_sort_compare_dims(), setop_compare_slots(), and sort_item_compare().
Definition at line 233 of file sortsupport.h.
References compare(), INVERT_COMPARE_RESULT, SortSupportData::ssup_nulls_first, and SortSupportData::ssup_reverse.
Referenced by qsort_tuple_unsigned_compare().
Definition at line 68 of file sortsupport.c.
References FunctionCallInfoBaseData::args, SortSupportData::comparator, comparison_shim(), SortShimExtra::fcinfo, SortShimExtra::flinfo, fmgr_info_cxt(), InitFunctionCallInfoData, NullableDatum::isnull, MemoryContextAlloc(), SizeForSortShimExtra, SortSupportData::ssup_collation, SortSupportData::ssup_cxt, and SortSupportData::ssup_extra.
Referenced by FinishSortSupportFunction(), GinBufferInit(), and MJExamineQuals().
Definition at line 185 of file sortsupport.c.
References Assert(), SortSupportData::comparator, elog, ERROR, get_opfamily_proc(), GIST_SORTSUPPORT_PROC, OidFunctionCall1, OidIsValid, PointerGetDatum(), RelationData::rd_opcintype, RelationData::rd_opfamily, RelationData::rd_rel, SortSupportData::ssup_attno, and SortSupportData::ssup_reverse.
Referenced by tuplesort_begin_index_gist().
Definition at line 161 of file sortsupport.c.
References IndexAmRoutine::amcanorder, Assert(), SortSupportData::comparator, elog, ERROR, FinishSortSupportFunction(), RelationData::rd_indam, RelationData::rd_opcintype, RelationData::rd_opfamily, RelationData::rd_rel, SortSupportData::ssup_attno, and SortSupportData::ssup_reverse.
Referenced by _bt_load(), tuplesort_begin_cluster(), and tuplesort_begin_index_btree().
Definition at line 134 of file sortsupport.c.
References Assert(), SortSupportData::comparator, COMPARE_GT, elog, ERROR, FinishSortSupportFunction(), get_ordering_op_properties(), and SortSupportData::ssup_reverse.
Referenced by compute_scalar_stats(), ExecInitGatherMerge(), ExecInitIndexScan(), ExecInitMergeAppend(), ExecInitSetOp(), multi_sort_add_dimension(), statext_mcv_serialize(), tuplesort_begin_datum(), tuplesort_begin_heap(), and tuplesort_begin_index_gin().
Definition at line 3158 of file tuplesort.c.
References DatumGetInt32(), x, and y.
Referenced by btint4sortsupport(), date_sortsupport(), and tuplesort_sort_memtuples().
Definition at line 3144 of file tuplesort.c.
References DatumGetInt64(), x, and y.
Referenced by btint8sortsupport(), timestamp_sortsupport(), and tuplesort_sort_memtuples().
Definition at line 3133 of file tuplesort.c.
Referenced by gist_point_sortsupport(), macaddr_sortsupport(), network_sortsupport(), tuplesort_sort_memtuples(), uuid_sortsupport(), and varstr_sortsupport().