PostgreSQL Source Code git master
|
#include "postgres.h"
#include "btree_gist.h"
#include "btree_utils_num.h"
#include "utils/sortsupport.h"
Go to the source code of this file.
Data Structures | |
struct | boolkey |
Typedefs | |
typedef struct boolkey | boolKEY |
Variables | |
static const gbtree_ninfo | tinfo |
Datum gbt_bool_compress | ( | PG_FUNCTION_ARGS | ) |
Definition at line 89 of file btree_bool.c.
References gbt_num_compress(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
Datum gbt_bool_consistent | ( | PG_FUNCTION_ARGS | ) |
Definition at line 105 of file btree_bool.c.
References DatumGetPointer(), gbt_num_consistent(), GIST_LEAF, GISTENTRY::key, sort-test::key, boolkey::lower, PG_GETARG_INT16, PG_GETARG_POINTER, PG_GETARG_UINT16, PG_RETURN_BOOL, tinfo, and boolkey::upper.
Datum gbt_bool_fetch | ( | PG_FUNCTION_ARGS | ) |
Definition at line 97 of file btree_bool.c.
References gbt_num_fetch(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
Datum gbt_bool_penalty | ( | PG_FUNCTION_ARGS | ) |
Definition at line 137 of file btree_bool.c.
References DatumGetPointer(), sort-test::key, boolkey::lower, penalty_num, PG_GETARG_POINTER, PG_RETURN_POINTER, and boolkey::upper.
Datum gbt_bool_picksplit | ( | PG_FUNCTION_ARGS | ) |
Definition at line 149 of file btree_bool.c.
References gbt_num_picksplit(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
Datum gbt_bool_same | ( | PG_FUNCTION_ARGS | ) |
Definition at line 157 of file btree_bool.c.
References gbt_num_same(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
Datum gbt_bool_sortsupport | ( | PG_FUNCTION_ARGS | ) |
Definition at line 178 of file btree_bool.c.
References SortSupportData::comparator, gbt_bool_ssup_cmp(), PG_GETARG_POINTER, PG_RETURN_VOID, and SortSupportData::ssup_extra.
|
static |
Definition at line 168 of file btree_bool.c.
References DatumGetPointer(), boolkey::lower, x, and y.
Referenced by gbt_bool_sortsupport().
Datum gbt_bool_union | ( | PG_FUNCTION_ARGS | ) |
Definition at line 127 of file btree_bool.c.
References gbt_num_union(), palloc(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
|
static |
|
static |
|
static |
|
static |
Definition at line 53 of file btree_bool.c.
References a, b, boolkey::lower, and boolkey::upper.
|
static |
|
static |
PG_FUNCTION_INFO_V1 | ( | gbt_bool_compress | ) |
PG_FUNCTION_INFO_V1 | ( | gbt_bool_consistent | ) |
PG_FUNCTION_INFO_V1 | ( | gbt_bool_fetch | ) |
PG_FUNCTION_INFO_V1 | ( | gbt_bool_penalty | ) |
PG_FUNCTION_INFO_V1 | ( | gbt_bool_picksplit | ) |
PG_FUNCTION_INFO_V1 | ( | gbt_bool_same | ) |
PG_FUNCTION_INFO_V1 | ( | gbt_bool_sortsupport | ) |
PG_FUNCTION_INFO_V1 | ( | gbt_bool_union | ) |
|
static |
Definition at line 70 of file btree_bool.c.
Referenced by gbt_bool_compress(), gbt_bool_consistent(), gbt_bool_fetch(), gbt_bool_picksplit(), gbt_bool_same(), and gbt_bool_union().