|
PostgreSQL Source Code git master
|
#include "postgres.h"#include "_int.h"#include "access/htup_details.h"#include "catalog/pg_operator.h"#include "catalog/pg_statistic.h"#include "catalog/pg_type.h"#include "miscadmin.h"#include "utils/fmgrprotos.h"#include "utils/lsyscache.h"#include "utils/selfuncs.h"
Go to the source code of this file.
| Datum _int_contained_joinsel | ( | PG_FUNCTION_ARGS | ) |
Definition at line 107 of file _int_selfuncs.c.
References arraycontjoinsel(), DirectFunctionCall5, fb(), ObjectIdGetDatum(), PG_GETARG_DATUM, and PG_RETURN_DATUM.
| Datum _int_contained_sel | ( | PG_FUNCTION_ARGS | ) |
Definition at line 75 of file _int_selfuncs.c.
References arraycontsel(), DirectFunctionCall4, fb(), ObjectIdGetDatum(), PG_GETARG_DATUM, and PG_RETURN_DATUM.
| Datum _int_contains_joinsel | ( | PG_FUNCTION_ARGS | ) |
Definition at line 96 of file _int_selfuncs.c.
References arraycontjoinsel(), DirectFunctionCall5, fb(), ObjectIdGetDatum(), PG_GETARG_DATUM, and PG_RETURN_DATUM.
| Datum _int_contains_sel | ( | PG_FUNCTION_ARGS | ) |
Definition at line 65 of file _int_selfuncs.c.
References arraycontsel(), DirectFunctionCall4, fb(), ObjectIdGetDatum(), PG_GETARG_DATUM, and PG_RETURN_DATUM.
| Datum _int_matchsel | ( | PG_FUNCTION_ARGS | ) |
Definition at line 122 of file _int_selfuncs.c.
References Assert, ATTSTATSSLOT_NUMBERS, ATTSTATSSLOT_VALUES, CLAMP_PROBABILITY, DatumGetQueryTypeP, DEFAULT_EQ_SEL, fb(), free_attstatsslot(), get_attstatsslot(), get_restriction_variable(), GETQUERY, GETSTRUCT(), HeapTupleIsValid, int_query_opr_selec(), InvalidOid, IsA, PG_GETARG_INT32, PG_GETARG_POINTER, PG_RETURN_FLOAT8, ReleaseVariableStats, root, and QUERYTYPE::size.
| Datum _int_overlap_joinsel | ( | PG_FUNCTION_ARGS | ) |
Definition at line 85 of file _int_selfuncs.c.
References arraycontjoinsel(), DirectFunctionCall5, fb(), ObjectIdGetDatum(), PG_GETARG_DATUM, and PG_RETURN_DATUM.
| Datum _int_overlap_sel | ( | PG_FUNCTION_ARGS | ) |
Definition at line 55 of file _int_selfuncs.c.
References arraycontsel(), DirectFunctionCall4, fb(), ObjectIdGetDatum(), PG_GETARG_DATUM, and PG_RETURN_DATUM.
Definition at line 329 of file _int_selfuncs.c.
References a, b, DatumGetInt32(), and value.
Referenced by int_query_opr_selec().
|
static |
Definition at line 244 of file _int_selfuncs.c.
References check_stack_depth(), CLAMP_PROBABILITY, compare_val_int4(), DEFAULT_EQ_SEL, elog, ERROR, fb(), int_query_opr_selec(), ITEM::left, Min, OPR, s1, s2, ITEM::type, ITEM::val, and VAL.
Referenced by _int_matchsel(), and int_query_opr_selec().
| PG_FUNCTION_INFO_V1 | ( | _int_contained_joinsel | ) |
| PG_FUNCTION_INFO_V1 | ( | _int_contained_sel | ) |
| PG_FUNCTION_INFO_V1 | ( | _int_contains_joinsel | ) |
| PG_FUNCTION_INFO_V1 | ( | _int_contains_sel | ) |
| PG_FUNCTION_INFO_V1 | ( | _int_matchsel | ) |
| PG_FUNCTION_INFO_V1 | ( | _int_overlap_joinsel | ) |
| PG_FUNCTION_INFO_V1 | ( | _int_overlap_sel | ) |