|
PostgreSQL Source Code git master
|
#include "postgres.h"#include "btree_gist.h"#include "btree_utils_num.h"#include "utils/rel.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 90 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 106 of file btree_bool.c.
References DatumGetPointer(), fb(), gbt_num_consistent(), GIST_LEAF, GISTENTRY::key, PG_GETARG_INT16, PG_GETARG_OID, PG_GETARG_POINTER, PG_GETARG_UINT16, PG_RETURN_BOOL, and tinfo.
| Datum gbt_bool_fetch | ( | PG_FUNCTION_ARGS | ) |
Definition at line 98 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 139 of file btree_bool.c.
References DatumGetPointer(), fb(), penalty_num, PG_GETARG_POINTER, and PG_RETURN_POINTER.
| Datum gbt_bool_picksplit | ( | PG_FUNCTION_ARGS | ) |
Definition at line 151 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 159 of file btree_bool.c.
References fb(), gbt_num_same(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
| Datum gbt_bool_sortsupport | ( | PG_FUNCTION_ARGS | ) |
Definition at line 180 of file btree_bool.c.
References SortSupportData::comparator, fb(), gbt_bool_ssup_cmp(), PG_GETARG_POINTER, PG_RETURN_VOID, and SortSupportData::ssup_extra.
|
static |
Definition at line 170 of file btree_bool.c.
References DatumGetPointer(), fb(), boolkey::lower, x, and y.
Referenced by gbt_bool_sortsupport().
| Datum gbt_bool_union | ( | PG_FUNCTION_ARGS | ) |
Definition at line 129 of file btree_bool.c.
References fb(), gbt_num_union(), palloc(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
Definition at line 54 of file btree_bool.c.
| 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 71 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().