|
PostgreSQL Source Code git master
|
#include "postgres.h"#include "btree_gist.h"#include "btree_utils_num.h"#include "port/pg_bswap.h"#include "utils/rel.h"#include "utils/sortsupport.h"#include "utils/uuid.h"
Go to the source code of this file.
Data Structures | |
| struct | uuidKEY |
Variables | |
| static const gbtree_ninfo | tinfo |
| Datum gbt_uuid_compress | ( | PG_FUNCTION_ARGS | ) |
Definition at line 101 of file btree_uuid.c.
References DatumGetUUIDP(), gistentryinit, GISTENTRY::key, sort-test::key, GISTENTRY::leafkey, GISTENTRY::offset, GISTENTRY::page, palloc(), PG_GETARG_POINTER, PG_RETURN_POINTER, PointerGetDatum(), GISTENTRY::rel, and UUID_LEN.
| Datum gbt_uuid_consistent | ( | PG_FUNCTION_ARGS | ) |
Definition at line 134 of file btree_uuid.c.
References DatumGetPointer(), gbt_num_consistent(), GIST_LEAF, GISTENTRY::key, sort-test::key, uuidKEY::lower, PG_GETARG_POINTER, PG_GETARG_UINT16, PG_GETARG_UUID_P, PG_RETURN_BOOL, tinfo, and uuidKEY::upper.
| Datum gbt_uuid_fetch | ( | PG_FUNCTION_ARGS | ) |
Definition at line 126 of file btree_uuid.c.
References gbt_num_fetch(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
| Datum gbt_uuid_penalty | ( | PG_FUNCTION_ARGS | ) |
Definition at line 198 of file btree_uuid.c.
References DatumGetPointer(), sort-test::key, uuidKEY::lower, penalty_num, PG_GETARG_POINTER, PG_RETURN_POINTER, uuidKEY::upper, and uuid_2_double().
| Datum gbt_uuid_picksplit | ( | PG_FUNCTION_ARGS | ) |
Definition at line 219 of file btree_uuid.c.
References gbt_num_picksplit(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
| Datum gbt_uuid_same | ( | PG_FUNCTION_ARGS | ) |
Definition at line 227 of file btree_uuid.c.
References gbt_num_same(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
| Datum gbt_uuid_sortsupport | ( | PG_FUNCTION_ARGS | ) |
Definition at line 248 of file btree_uuid.c.
References SortSupportData::comparator, gbt_uuid_ssup_cmp(), PG_GETARG_POINTER, PG_RETURN_VOID, and SortSupportData::ssup_extra.
|
static |
Definition at line 238 of file btree_uuid.c.
References DatumGetPointer(), uuidKEY::lower, uuid_internal_cmp(), x, and y.
Referenced by gbt_uuid_sortsupport().
| Datum gbt_uuid_union | ( | PG_FUNCTION_ARGS | ) |
Definition at line 157 of file btree_uuid.c.
References gbt_num_union(), palloc(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
|
static |
|
static |
Definition at line 44 of file btree_uuid.c.
References a, b, and uuid_internal_cmp().
|
static |
Definition at line 38 of file btree_uuid.c.
References a, b, and uuid_internal_cmp().
|
static |
Definition at line 68 of file btree_uuid.c.
References a, b, uuidKEY::lower, uuidKEY::upper, and uuid_internal_cmp().
|
static |
Definition at line 56 of file btree_uuid.c.
References a, b, and uuid_internal_cmp().
|
static |
Definition at line 62 of file btree_uuid.c.
References a, b, and uuid_internal_cmp().
| PG_FUNCTION_INFO_V1 | ( | gbt_uuid_compress | ) |
| PG_FUNCTION_INFO_V1 | ( | gbt_uuid_consistent | ) |
| PG_FUNCTION_INFO_V1 | ( | gbt_uuid_fetch | ) |
| PG_FUNCTION_INFO_V1 | ( | gbt_uuid_penalty | ) |
| PG_FUNCTION_INFO_V1 | ( | gbt_uuid_picksplit | ) |
| PG_FUNCTION_INFO_V1 | ( | gbt_uuid_same | ) |
| PG_FUNCTION_INFO_V1 | ( | gbt_uuid_sortsupport | ) |
| PG_FUNCTION_INFO_V1 | ( | gbt_uuid_union | ) |
|
static |
Definition at line 170 of file btree_uuid.c.
References pg_uuid_t::data, pg_bswap64(), and UUID_LEN.
Referenced by gbt_uuid_penalty().
Definition at line 32 of file btree_uuid.c.
References pg_uuid_t::data, and UUID_LEN.
Referenced by gbt_uuid_ssup_cmp(), gbt_uuideq(), gbt_uuidge(), gbt_uuidgt(), gbt_uuidkey_cmp(), gbt_uuidle(), and gbt_uuidlt().
|
static |
Definition at line 81 of file btree_uuid.c.
Referenced by gbt_uuid_consistent(), gbt_uuid_fetch(), gbt_uuid_picksplit(), gbt_uuid_same(), and gbt_uuid_union().