|
PostgreSQL Source Code git master
|
#include "postgres.h"#include "btree_gist.h"#include "btree_utils_num.h"#include "utils/float.h"#include "utils/rel.h"#include "utils/sortsupport.h"
Go to the source code of this file.
Data Structures | |
| struct | float8key |
Typedefs | |
| typedef struct float8key | float8KEY |
Variables | |
| static const gbtree_ninfo | tinfo |
| Datum float8_dist | ( | PG_FUNCTION_ARGS | ) |
Definition at line 104 of file btree_float8.c.
References a, b, fb(), float_overflow_error(), PG_GETARG_FLOAT8, PG_RETURN_FLOAT8, and unlikely.
| Datum gbt_float8_compress | ( | PG_FUNCTION_ARGS | ) |
Definition at line 123 of file btree_float8.c.
References gbt_num_compress(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
| Datum gbt_float8_consistent | ( | PG_FUNCTION_ARGS | ) |
Definition at line 139 of file btree_float8.c.
References DatumGetPointer(), fb(), gbt_num_consistent(), GIST_LEAF, GISTENTRY::key, PG_GETARG_FLOAT8, PG_GETARG_OID, PG_GETARG_POINTER, PG_GETARG_UINT16, PG_RETURN_BOOL, and tinfo.
Definition at line 74 of file btree_float8.c.
References a, b, fb(), float_overflow_error(), and unlikely.
| Datum gbt_float8_distance | ( | PG_FUNCTION_ARGS | ) |
Definition at line 163 of file btree_float8.c.
References DatumGetPointer(), fb(), gbt_num_distance(), GIST_LEAF, GISTENTRY::key, PG_GETARG_FLOAT8, PG_GETARG_OID, PG_GETARG_POINTER, PG_RETURN_FLOAT8, and tinfo.
| Datum gbt_float8_fetch | ( | PG_FUNCTION_ARGS | ) |
Definition at line 131 of file btree_float8.c.
References gbt_num_fetch(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
| Datum gbt_float8_penalty | ( | PG_FUNCTION_ARGS | ) |
Definition at line 191 of file btree_float8.c.
References DatumGetPointer(), fb(), penalty_num, PG_GETARG_POINTER, and PG_RETURN_POINTER.
| Datum gbt_float8_picksplit | ( | PG_FUNCTION_ARGS | ) |
Definition at line 203 of file btree_float8.c.
References gbt_num_picksplit(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
| Datum gbt_float8_same | ( | PG_FUNCTION_ARGS | ) |
Definition at line 211 of file btree_float8.c.
References fb(), gbt_num_same(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
| Datum gbt_float8_sortsupport | ( | PG_FUNCTION_ARGS | ) |
Definition at line 232 of file btree_float8.c.
References SortSupportData::comparator, fb(), gbt_float8_ssup_cmp(), PG_GETARG_POINTER, PG_RETURN_VOID, and SortSupportData::ssup_extra.
|
static |
Definition at line 222 of file btree_float8.c.
References DatumGetPointer(), fb(), float8_cmp_internal(), x, and y.
Referenced by gbt_float8_sortsupport().
| Datum gbt_float8_union | ( | PG_FUNCTION_ARGS | ) |
Definition at line 181 of file btree_float8.c.
References fb(), gbt_num_union(), palloc(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
Definition at line 57 of file btree_float8.c.
| PG_FUNCTION_INFO_V1 | ( | float8_dist | ) |
| PG_FUNCTION_INFO_V1 | ( | gbt_float8_compress | ) |
| PG_FUNCTION_INFO_V1 | ( | gbt_float8_consistent | ) |
| PG_FUNCTION_INFO_V1 | ( | gbt_float8_distance | ) |
| PG_FUNCTION_INFO_V1 | ( | gbt_float8_fetch | ) |
| PG_FUNCTION_INFO_V1 | ( | gbt_float8_penalty | ) |
| PG_FUNCTION_INFO_V1 | ( | gbt_float8_picksplit | ) |
| PG_FUNCTION_INFO_V1 | ( | gbt_float8_same | ) |
| PG_FUNCTION_INFO_V1 | ( | gbt_float8_sortsupport | ) |
| PG_FUNCTION_INFO_V1 | ( | gbt_float8_union | ) |
|
static |
Definition at line 87 of file btree_float8.c.
Referenced by gbt_float8_compress(), gbt_float8_consistent(), gbt_float8_distance(), gbt_float8_fetch(), gbt_float8_picksplit(), gbt_float8_same(), and gbt_float8_union().