Go to the source code of this file.
|
| PG_FUNCTION_INFO_V1 (gbt_float4_compress) |
|
| PG_FUNCTION_INFO_V1 (gbt_float4_fetch) |
|
| PG_FUNCTION_INFO_V1 (gbt_float4_union) |
|
| PG_FUNCTION_INFO_V1 (gbt_float4_picksplit) |
|
| PG_FUNCTION_INFO_V1 (gbt_float4_consistent) |
|
| PG_FUNCTION_INFO_V1 (gbt_float4_distance) |
|
| PG_FUNCTION_INFO_V1 (gbt_float4_penalty) |
|
| PG_FUNCTION_INFO_V1 (gbt_float4_same) |
|
static bool | gbt_float4gt (const void *a, const void *b, FmgrInfo *flinfo) |
|
static bool | gbt_float4ge (const void *a, const void *b, FmgrInfo *flinfo) |
|
static bool | gbt_float4eq (const void *a, const void *b, FmgrInfo *flinfo) |
|
static bool | gbt_float4le (const void *a, const void *b, FmgrInfo *flinfo) |
|
static bool | gbt_float4lt (const void *a, const void *b, FmgrInfo *flinfo) |
|
static int | gbt_float4key_cmp (const void *a, const void *b, FmgrInfo *flinfo) |
|
static float8 | gbt_float4_dist (const void *a, const void *b, FmgrInfo *flinfo) |
|
| PG_FUNCTION_INFO_V1 (float4_dist) |
|
Datum | float4_dist (PG_FUNCTION_ARGS) |
|
Datum | gbt_float4_compress (PG_FUNCTION_ARGS) |
|
Datum | gbt_float4_fetch (PG_FUNCTION_ARGS) |
|
Datum | gbt_float4_consistent (PG_FUNCTION_ARGS) |
|
Datum | gbt_float4_distance (PG_FUNCTION_ARGS) |
|
Datum | gbt_float4_union (PG_FUNCTION_ARGS) |
|
Datum | gbt_float4_penalty (PG_FUNCTION_ARGS) |
|
Datum | gbt_float4_picksplit (PG_FUNCTION_ARGS) |
|
Datum | gbt_float4_same (PG_FUNCTION_ARGS) |
|
◆ float4KEY
◆ float4_dist()
◆ gbt_float4_compress()
◆ gbt_float4_consistent()
Definition at line 131 of file btree_float4.c.
bool gbt_num_consistent(const GBT_NUMKEY_R *key, const void *query, const StrategyNumber *strategy, bool is_leaf, const gbtree_ninfo *tinfo, FmgrInfo *flinfo)
#define PG_GETARG_UINT16(n)
#define PG_RETURN_BOOL(x)
#define DatumGetPointer(X)
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.
◆ gbt_float4_dist()
static float8 gbt_float4_dist |
( |
const void * |
a, |
|
|
const void * |
b, |
|
|
FmgrInfo * |
flinfo |
|
) |
| |
|
static |
◆ gbt_float4_distance()
Definition at line 155 of file btree_float4.c.
168 &
tinfo, fcinfo->flinfo));
float8 gbt_num_distance(const GBT_NUMKEY_R *key, const void *query, bool is_leaf, const gbtree_ninfo *tinfo, FmgrInfo *flinfo)
#define PG_RETURN_FLOAT8(x)
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.
◆ gbt_float4_fetch()
◆ gbt_float4_penalty()
Definition at line 184 of file btree_float4.c.
#define penalty_num(result, olower, oupper, nlower, nupper)
References DatumGetPointer, sort-test::key, float4key::lower, penalty_num, PG_GETARG_POINTER, PG_RETURN_POINTER, and float4key::upper.
◆ gbt_float4_picksplit()
◆ gbt_float4_same()
◆ gbt_float4_union()
◆ gbt_float4eq()
static bool gbt_float4eq |
( |
const void * |
a, |
|
|
const void * |
b, |
|
|
FmgrInfo * |
flinfo |
|
) |
| |
|
static |
◆ gbt_float4ge()
static bool gbt_float4ge |
( |
const void * |
a, |
|
|
const void * |
b, |
|
|
FmgrInfo * |
flinfo |
|
) |
| |
|
static |
◆ gbt_float4gt()
static bool gbt_float4gt |
( |
const void * |
a, |
|
|
const void * |
b, |
|
|
FmgrInfo * |
flinfo |
|
) |
| |
|
static |
◆ gbt_float4key_cmp()
static int gbt_float4key_cmp |
( |
const void * |
a, |
|
|
const void * |
b, |
|
|
FmgrInfo * |
flinfo |
|
) |
| |
|
static |
◆ gbt_float4le()
static bool gbt_float4le |
( |
const void * |
a, |
|
|
const void * |
b, |
|
|
FmgrInfo * |
flinfo |
|
) |
| |
|
static |
◆ gbt_float4lt()
static bool gbt_float4lt |
( |
const void * |
a, |
|
|
const void * |
b, |
|
|
FmgrInfo * |
flinfo |
|
) |
| |
|
static |
◆ PG_FUNCTION_INFO_V1() [1/9]
◆ PG_FUNCTION_INFO_V1() [2/9]
◆ PG_FUNCTION_INFO_V1() [3/9]
◆ PG_FUNCTION_INFO_V1() [4/9]
◆ PG_FUNCTION_INFO_V1() [5/9]
◆ PG_FUNCTION_INFO_V1() [6/9]
◆ PG_FUNCTION_INFO_V1() [7/9]
◆ PG_FUNCTION_INFO_V1() [8/9]
◆ PG_FUNCTION_INFO_V1() [9/9]
◆ tinfo
Initial value:=
{
8,
}
static bool gbt_float4eq(const void *a, const void *b, FmgrInfo *flinfo)
static bool gbt_float4gt(const void *a, const void *b, FmgrInfo *flinfo)
static float8 gbt_float4_dist(const void *a, const void *b, FmgrInfo *flinfo)
static bool gbt_float4le(const void *a, const void *b, FmgrInfo *flinfo)
static int gbt_float4key_cmp(const void *a, const void *b, FmgrInfo *flinfo)
static bool gbt_float4lt(const void *a, const void *b, FmgrInfo *flinfo)
static bool gbt_float4ge(const void *a, const void *b, FmgrInfo *flinfo)
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().