|
PostgreSQL Source Code git master
|


Go to the source code of this file.
Data Structures | |
| struct | SortSupportData |
Typedefs | |
| typedef struct SortSupportData * | SortSupport |
| typedef struct SortSupportData | SortSupportData |
Definition at line 58 of file sortsupport.h.
|
inlinestatic |
Definition at line 300 of file sortsupport.h.
References compare(), DatumGetInt32(), fb(), INVERT_COMPARE_RESULT, SortSupportData::ssup_nulls_first, and SortSupportData::ssup_reverse.
Referenced by qsort_tuple_int32_compare().
|
inlinestatic |
Definition at line 266 of file sortsupport.h.
References compare(), DatumGetInt64(), fb(), INVERT_COMPARE_RESULT, SortSupportData::ssup_nulls_first, and SortSupportData::ssup_reverse.
Referenced by qsort_tuple_signed_compare().
|
inlinestatic |
Definition at line 339 of file sortsupport.h.
References SortSupportData::abbrev_full_comparator, compare(), fb(), 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().
|
inlinestatic |
Definition at line 200 of file sortsupport.h.
References SortSupportData::comparator, compare(), fb(), 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(), heap_compare_slots(), MJCompare(), multi_sort_compare(), multi_sort_compare_dim(), multi_sort_compare_dims(), setop_compare_slots(), and sort_item_compare().
|
inlinestatic |
Definition at line 233 of file sortsupport.h.
References compare(), fb(), INVERT_COMPARE_RESULT, SortSupportData::ssup_nulls_first, and SortSupportData::ssup_reverse.
Referenced by qsort_tuple_unsigned_compare().
|
extern |
Definition at line 68 of file sortsupport.c.
References FunctionCallInfoBaseData::args, SortSupportData::comparator, comparison_shim(), fb(), 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(), MJExamineQuals(), and tuplesort_begin_index_gin().
|
extern |
Definition at line 185 of file sortsupport.c.
References Assert, SortSupportData::comparator, elog, ERROR, fb(), 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().
|
extern |
Definition at line 161 of file sortsupport.c.
References IndexAmRoutine::amcanorder, Assert, SortSupportData::comparator, elog, ERROR, fb(), 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().
|
extern |
Definition at line 134 of file sortsupport.c.
References Assert, SortSupportData::comparator, COMPARE_GT, elog, ERROR, fb(), 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(), and tuplesort_begin_heap().
|
extern |
Definition at line 3147 of file tuplesort.c.
References DatumGetInt32(), fb(), x, and y.
Referenced by btint4sortsupport(), date_sortsupport(), and tuplesort_sort_memtuples().
|
extern |
Definition at line 3133 of file tuplesort.c.
References DatumGetInt64(), fb(), x, and y.
Referenced by btint8sortsupport(), timestamp_sortsupport(), and tuplesort_sort_memtuples().
|
extern |
Definition at line 3122 of file tuplesort.c.
Referenced by bytea_sortsupport(), gist_point_sortsupport(), macaddr_sortsupport(), network_sortsupport(), tuplesort_sort_memtuples(), uuid_sortsupport(), and varstr_sortsupport().