PostgreSQL Source Code
git master
|
#include "postgres.h"
#include "btree_gist.h"
#include "btree_utils_num.h"
#include "port/pg_bswap.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_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 |
Definition at line 49 of file btree_uuid.c.
References a, b, and uuid_internal_cmp().
|
static |
Definition at line 43 of file btree_uuid.c.
References a, b, and uuid_internal_cmp().
|
static |
Definition at line 37 of file btree_uuid.c.
References a, b, and uuid_internal_cmp().
|
static |
Definition at line 67 of file btree_uuid.c.
References a, b, uuidKEY::lower, res, uuidKEY::upper, and uuid_internal_cmp().
|
static |
Definition at line 55 of file btree_uuid.c.
References a, b, and uuid_internal_cmp().
|
static |
Definition at line 61 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_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 31 of file btree_uuid.c.
References pg_uuid_t::data, and UUID_LEN.
Referenced by gbt_uuideq(), gbt_uuidge(), gbt_uuidgt(), gbt_uuidkey_cmp(), gbt_uuidle(), and gbt_uuidlt().
|
static |
Definition at line 80 of file btree_uuid.c.
Referenced by gbt_uuid_consistent(), gbt_uuid_fetch(), gbt_uuid_picksplit(), gbt_uuid_same(), and gbt_uuid_union().