PostgreSQL Source Code git master
|
Go to the source code of this file.
Datum _int_contained | ( | PG_FUNCTION_ARGS | ) |
Definition at line 22 of file _int_op.c.
References _int_contains(), DirectFunctionCall2, and PG_GETARG_DATUM.
Datum _int_contains | ( | PG_FUNCTION_ARGS | ) |
Definition at line 31 of file _int_op.c.
References a, b, CHECKARRVALID, inner_int_contains(), pfree(), PG_GETARG_ARRAYTYPE_P_COPY, PG_RETURN_BOOL, and PREPAREARR.
Referenced by _int_contained().
Datum _int_different | ( | PG_FUNCTION_ARGS | ) |
Definition at line 49 of file _int_op.c.
References _int_same(), DatumGetBool(), DirectFunctionCall2, PG_GETARG_POINTER, PG_RETURN_BOOL, and PointerGetDatum().
Datum _int_inter | ( | PG_FUNCTION_ARGS | ) |
Definition at line 146 of file _int_op.c.
References a, b, CHECKARRVALID, inner_int_inter(), pfree(), PG_GETARG_ARRAYTYPE_P_COPY, PG_RETURN_POINTER, and SORT.
Datum _int_overlap | ( | PG_FUNCTION_ARGS | ) |
Definition at line 102 of file _int_op.c.
References a, ARRISEMPTY, b, CHECKARRVALID, inner_int_overlap(), pfree(), PG_GETARG_ARRAYTYPE_P_COPY, PG_RETURN_BOOL, and SORT.
Datum _int_same | ( | PG_FUNCTION_ARGS | ) |
Definition at line 57 of file _int_op.c.
References a, ARRNELEMS, ARRPTR, b, CHECKARRVALID, pfree(), PG_GETARG_ARRAYTYPE_P_COPY, PG_RETURN_BOOL, and SORT.
Referenced by _int_different().
Datum _int_union | ( | PG_FUNCTION_ARGS | ) |
Definition at line 125 of file _int_op.c.
References a, b, CHECKARRVALID, inner_int_union(), pfree(), PG_GETARG_ARRAYTYPE_P_COPY, PG_RETURN_POINTER, and SORT.
Datum icount | ( | PG_FUNCTION_ARGS | ) |
Definition at line 188 of file _int_op.c.
References a, ARRNELEMS, PG_FREE_IF_COPY, PG_GETARG_ARRAYTYPE_P, and PG_RETURN_INT32.
Datum idx | ( | PG_FUNCTION_ARGS | ) |
Definition at line 262 of file _int_op.c.
References a, ARRNELEMS, CHECKARRVALID, intarray_match_first(), PG_FREE_IF_COPY, PG_GETARG_ARRAYTYPE_P, PG_GETARG_INT32, and PG_RETURN_INT32.
Referenced by aclexplode(), AllocSetFreeIndex(), appendStringInfoRegexpSubstr(), array_subscript_transform(), AtProcExit_memstats_cleanup(), AttachPartitionEnsureIndexes(), avlCollectFields(), brin_minmax_multi_summary_out(), brin_revmap_data(), build_expr_data(), build_sorted_items(), casemap(), cube_subset(), dependencies_clauselist_selectivity(), DetachPartitionFinalize(), do_set_block_offsets(), estimate_multivariate_ndistinct(), ExecHashIncreaseNumBatches(), ExecHashIncreaseNumBuckets(), ExecInitIndexOnlyScan(), ExecParallelHashIncreaseNumBuckets(), ExecParallelHashRepartitionFirst(), fill_expanded_ranges(), GetXLogBuffer(), hstore_contains(), hstore_defined(), hstore_exists(), hstore_exists_all(), hstore_exists_any(), hstore_fetchval(), hstore_populate_record(), hstore_slice_to_array(), hstore_slice_to_hstore(), hstore_subscript_fetch(), indexOfColumn(), InjectionPointAttach(), InjectionPointDetach(), jsonb_delete_idx(), jsonb_subscript_transform(), lazy_cleanup_all_indexes(), lazy_vacuum_all_indexes(), Lookahead(), make_build_data(), mcv_get_match_bitmap(), mcv_match_expression(), merge_overlapping_ranges(), multirange_bsearch_match(), parallel_vacuum_process_safe_indexes(), percentile_cont_multi_final_common(), percentile_disc_multi_final(), pg_buffercache_numa_pages(), pg_get_wait_events(), pg_mb_radix_conv(), pg_nextoid(), pg_stat_get_db_numbackends(), pgoutput_row_filter_init(), pgstat_build_snapshot_fixed(), pgstat_fetch_replslot(), pgstat_get_custom_shmem_data(), pgstat_get_custom_snapshot_data(), pgstat_get_kind_from_str(), pgstat_get_kind_info(), pgstat_get_local_beentry_by_index(), pgstat_read_statsfile(), pgstat_register_kind(), pgstat_replslot_from_serialized_name_cb(), PLy_result_item(), PLySequence_ToComposite(), printCrosstab(), ProcessGetMemoryContextInterrupt(), range_gist_double_sorting_split(), range_gist_single_sorting_split(), ReindexRelationConcurrently(), ResourceOwnerAddToHash(), ResourceOwnerForget(), ResourceOwnerReleaseAll(), ResourceOwnerRemember(), ResourceOwnerSort(), ri_ReportViolation(), RT_ADD_CHILD_256(), RT_ADD_CHILD_48(), RT_GROW_NODE_16(), RT_NODE_256_IS_CHUNK_USED(), RT_NODE_4_GET_INSERTPOS(), RT_VERIFY_NODE(), setPathArray(), stat_find_expression(), statext_expressions_load(), StatsShmemInit(), store_expanded_ranges(), StoreIndexTuple(), tbm_prepare_shared_iterate(), test_pattern(), TidStoreSetBlockOffsets(), transformContainerSubscripts(), update_relstats_all_indexes(), and WALReadFromBuffers().
Datum intarray_del_elem | ( | PG_FUNCTION_ARGS | ) |
Definition at line 350 of file _int_op.c.
References a, ARRISEMPTY, ARRNELEMS, ARRPTR, CHECKARRVALID, i, PG_GETARG_ARRAYTYPE_P_COPY, PG_GETARG_INT32, PG_RETURN_POINTER, and resize_intArrayType().
Datum intarray_push_array | ( | PG_FUNCTION_ARGS | ) |
Definition at line 337 of file _int_op.c.
References a, b, intarray_concat_arrays(), PG_FREE_IF_COPY, PG_GETARG_ARRAYTYPE_P, and PG_RETURN_POINTER.
Datum intarray_push_elem | ( | PG_FUNCTION_ARGS | ) |
Definition at line 326 of file _int_op.c.
References a, intarray_add_elem(), PG_FREE_IF_COPY, PG_GETARG_ARRAYTYPE_P, PG_GETARG_INT32, and PG_RETURN_POINTER.
Datum intset | ( | PG_FUNCTION_ARGS | ) |
Definition at line 182 of file _int_op.c.
References int_to_intset(), PG_GETARG_INT32, and PG_RETURN_POINTER.
Referenced by check_with_filler(), intset_add_member(), intset_begin_iterate(), intset_create(), intset_flush_buffered_values(), intset_is_member(), intset_iterate_next(), intset_memory_usage(), intset_new_internal_node(), intset_new_leaf_node(), intset_num_entries(), intset_update_upper(), test_empty(), test_huge_distances(), test_pattern(), test_single_value(), and test_single_value_and_filler().
Datum intset_subtract | ( | PG_FUNCTION_ARGS | ) |
Definition at line 392 of file _int_op.c.
References _int_unique(), a, ARRNELEMS, ARRPTR, b, CHECKARRVALID, i, new_intArrayType(), pfree(), PG_GETARG_ARRAYTYPE_P_COPY, PG_RETURN_POINTER, QSORT, and resize_intArrayType().
Datum intset_union_elem | ( | PG_FUNCTION_ARGS | ) |
Definition at line 380 of file _int_op.c.
References _int_unique(), a, intarray_add_elem(), PG_FREE_IF_COPY, PG_GETARG_ARRAYTYPE_P, PG_GETARG_INT32, PG_RETURN_POINTER, and QSORT.
PG_FUNCTION_INFO_V1 | ( | _int_contained | ) |
PG_FUNCTION_INFO_V1 | ( | _int_contains | ) |
PG_FUNCTION_INFO_V1 | ( | _int_different | ) |
PG_FUNCTION_INFO_V1 | ( | _int_inter | ) |
PG_FUNCTION_INFO_V1 | ( | _int_overlap | ) |
PG_FUNCTION_INFO_V1 | ( | _int_same | ) |
PG_FUNCTION_INFO_V1 | ( | _int_union | ) |
PG_FUNCTION_INFO_V1 | ( | icount | ) |
PG_FUNCTION_INFO_V1 | ( | idx | ) |
PG_FUNCTION_INFO_V1 | ( | intarray_del_elem | ) |
PG_FUNCTION_INFO_V1 | ( | intarray_push_array | ) |
PG_FUNCTION_INFO_V1 | ( | intarray_push_elem | ) |
PG_FUNCTION_INFO_V1 | ( | intset | ) |
PG_FUNCTION_INFO_V1 | ( | intset_subtract | ) |
PG_FUNCTION_INFO_V1 | ( | intset_union_elem | ) |
PG_FUNCTION_INFO_V1 | ( | sort | ) |
PG_FUNCTION_INFO_V1 | ( | sort_asc | ) |
PG_FUNCTION_INFO_V1 | ( | sort_desc | ) |
PG_FUNCTION_INFO_V1 | ( | subarray | ) |
PG_FUNCTION_INFO_V1 | ( | uniq | ) |
PG_MODULE_MAGIC_EXT | ( | . | name = "intarray" , |
. | version = PG_VERSION |
||
) |
Datum sort | ( | PG_FUNCTION_ARGS | ) |
Definition at line 198 of file _int_op.c.
References a, ARRNELEMS, CHECKARRVALID, ereport, errcode(), errmsg(), ERROR, PG_GETARG_ARRAYTYPE_P_COPY, PG_GETARG_TEXT_PP, PG_RETURN_POINTER, QSORT, VARDATA_ANY, and VARSIZE_ANY_EXHDR.
Referenced by create_append_plan(), create_incremental_sort_path(), create_merge_append_plan(), create_mergejoin_plan(), and create_unique_plan().
Datum sort_asc | ( | PG_FUNCTION_ARGS | ) |
Definition at line 230 of file _int_op.c.
References a, CHECKARRVALID, PG_GETARG_ARRAYTYPE_P_COPY, PG_RETURN_POINTER, and QSORT.
Datum sort_desc | ( | PG_FUNCTION_ARGS | ) |
Definition at line 240 of file _int_op.c.
References a, CHECKARRVALID, PG_GETARG_ARRAYTYPE_P_COPY, PG_RETURN_POINTER, and QSORT.
Datum subarray | ( | PG_FUNCTION_ARGS | ) |
Definition at line 276 of file _int_op.c.
References a, ARRISEMPTY, ARRNELEMS, ARRPTR, CHECKARRVALID, len, new_intArrayType(), PG_FREE_IF_COPY, PG_GETARG_ARRAYTYPE_P, PG_GETARG_INT32, PG_RETURN_POINTER, and start.
Datum uniq | ( | PG_FUNCTION_ARGS | ) |
Definition at line 250 of file _int_op.c.
References _int_unique(), a, ARRNELEMS, CHECKARRVALID, PG_GETARG_ARRAYTYPE_P_COPY, and PG_RETURN_POINTER.