PostgreSQL Source Code git master
|
Go to the source code of this file.
Data Structures | |
struct | int16key |
Typedefs | |
typedef struct int16key | int16KEY |
Variables | |
static const gbtree_ninfo | tinfo |
Datum gbt_int2_compress | ( | PG_FUNCTION_ARGS | ) |
Definition at line 120 of file btree_int2.c.
References gbt_num_compress(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
Datum gbt_int2_consistent | ( | PG_FUNCTION_ARGS | ) |
Definition at line 136 of file btree_int2.c.
References DatumGetPointer(), gbt_num_consistent(), GIST_LEAF, GISTENTRY::key, sort-test::key, int16key::lower, PG_GETARG_INT16, PG_GETARG_POINTER, PG_GETARG_UINT16, PG_RETURN_BOOL, tinfo, and int16key::upper.
Datum gbt_int2_distance | ( | PG_FUNCTION_ARGS | ) |
Definition at line 159 of file btree_int2.c.
References DatumGetPointer(), gbt_num_distance(), GIST_LEAF, GISTENTRY::key, sort-test::key, int16key::lower, PG_GETARG_INT16, PG_GETARG_POINTER, PG_RETURN_FLOAT8, tinfo, and int16key::upper.
Datum gbt_int2_fetch | ( | PG_FUNCTION_ARGS | ) |
Definition at line 128 of file btree_int2.c.
References gbt_num_fetch(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
Datum gbt_int2_penalty | ( | PG_FUNCTION_ARGS | ) |
Definition at line 188 of file btree_int2.c.
References DatumGetPointer(), sort-test::key, int16key::lower, penalty_num, PG_GETARG_POINTER, PG_RETURN_POINTER, and int16key::upper.
Datum gbt_int2_picksplit | ( | PG_FUNCTION_ARGS | ) |
Definition at line 200 of file btree_int2.c.
References gbt_num_picksplit(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
Datum gbt_int2_same | ( | PG_FUNCTION_ARGS | ) |
Definition at line 208 of file btree_int2.c.
References gbt_num_same(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
Datum gbt_int2_union | ( | PG_FUNCTION_ARGS | ) |
Definition at line 177 of file btree_int2.c.
References gbt_num_union(), palloc(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
|
static |
|
static |
|
static |
|
static |
Definition at line 55 of file btree_int2.c.
References a, b, int16key::lower, and int16key::upper.
|
static |
|
static |
Datum int2_dist | ( | PG_FUNCTION_ARGS | ) |
Definition at line 95 of file btree_int2.c.
References a, b, ereport, errcode(), errmsg(), ERROR, PG_GETARG_INT16, PG_INT16_MIN, PG_RETURN_INT16, and pg_sub_s16_overflow().
PG_FUNCTION_INFO_V1 | ( | gbt_int2_compress | ) |
PG_FUNCTION_INFO_V1 | ( | gbt_int2_consistent | ) |
PG_FUNCTION_INFO_V1 | ( | gbt_int2_distance | ) |
PG_FUNCTION_INFO_V1 | ( | gbt_int2_fetch | ) |
PG_FUNCTION_INFO_V1 | ( | gbt_int2_penalty | ) |
PG_FUNCTION_INFO_V1 | ( | gbt_int2_picksplit | ) |
PG_FUNCTION_INFO_V1 | ( | gbt_int2_same | ) |
PG_FUNCTION_INFO_V1 | ( | gbt_int2_union | ) |
PG_FUNCTION_INFO_V1 | ( | int2_dist | ) |
|
static |
Definition at line 78 of file btree_int2.c.
Referenced by gbt_int2_compress(), gbt_int2_consistent(), gbt_int2_distance(), gbt_int2_fetch(), gbt_int2_picksplit(), gbt_int2_same(), and gbt_int2_union().