PostgreSQL Source Code
git master
|
Go to the source code of this file.
Data Structures | |
struct | float4key |
Typedefs | |
typedef struct float4key | float4KEY |
Variables | |
static const gbtree_ninfo | tinfo |
Datum float4_dist | ( | PG_FUNCTION_ARGS | ) |
Definition at line 95 of file btree_float4.c.
References a, b, float_overflow_error(), PG_GETARG_FLOAT4, PG_RETURN_FLOAT4, and unlikely.
Datum gbt_float4_compress | ( | PG_FUNCTION_ARGS | ) |
Definition at line 115 of file btree_float4.c.
References gbt_num_compress(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
Datum gbt_float4_consistent | ( | PG_FUNCTION_ARGS | ) |
Definition at line 131 of file btree_float4.c.
References DatumGetPointer(), gbt_num_consistent(), GIST_LEAF, GISTENTRY::key, sort-test::key, float4key::lower, PG_GETARG_FLOAT4, PG_GETARG_POINTER, PG_GETARG_UINT16, PG_RETURN_BOOL, tinfo, and float4key::upper.
Datum gbt_float4_distance | ( | PG_FUNCTION_ARGS | ) |
Definition at line 155 of file btree_float4.c.
References DatumGetPointer(), gbt_num_distance(), GIST_LEAF, GISTENTRY::key, sort-test::key, float4key::lower, PG_GETARG_FLOAT4, PG_GETARG_POINTER, PG_RETURN_FLOAT8, tinfo, and float4key::upper.
Datum gbt_float4_fetch | ( | PG_FUNCTION_ARGS | ) |
Definition at line 123 of file btree_float4.c.
References gbt_num_fetch(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
Datum gbt_float4_penalty | ( | PG_FUNCTION_ARGS | ) |
Definition at line 184 of file btree_float4.c.
References DatumGetPointer(), sort-test::key, float4key::lower, penalty_num, PG_GETARG_POINTER, PG_RETURN_POINTER, and float4key::upper.
Datum gbt_float4_picksplit | ( | PG_FUNCTION_ARGS | ) |
Definition at line 196 of file btree_float4.c.
References gbt_num_picksplit(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
Datum gbt_float4_same | ( | PG_FUNCTION_ARGS | ) |
Definition at line 204 of file btree_float4.c.
References gbt_num_same(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
Datum gbt_float4_union | ( | PG_FUNCTION_ARGS | ) |
Definition at line 173 of file btree_float4.c.
References gbt_num_union(), palloc(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
|
static |
Definition at line 55 of file btree_float4.c.
References a, b, float4key::lower, and float4key::upper.
PG_FUNCTION_INFO_V1 | ( | float4_dist | ) |
PG_FUNCTION_INFO_V1 | ( | gbt_float4_compress | ) |
PG_FUNCTION_INFO_V1 | ( | gbt_float4_consistent | ) |
PG_FUNCTION_INFO_V1 | ( | gbt_float4_distance | ) |
PG_FUNCTION_INFO_V1 | ( | gbt_float4_fetch | ) |
PG_FUNCTION_INFO_V1 | ( | gbt_float4_penalty | ) |
PG_FUNCTION_INFO_V1 | ( | gbt_float4_picksplit | ) |
PG_FUNCTION_INFO_V1 | ( | gbt_float4_same | ) |
PG_FUNCTION_INFO_V1 | ( | gbt_float4_union | ) |
|
static |
Definition at line 78 of file btree_float4.c.
Referenced by gbt_float4_compress(), gbt_float4_consistent(), gbt_float4_distance(), gbt_float4_fetch(), gbt_float4_picksplit(), gbt_float4_same(), and gbt_float4_union().