|
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(), fb(), gistentryinit, GISTENTRY::key, GISTENTRY::leafkey, GISTENTRY::offset, GISTENTRY::page, palloc(), palloc_object, 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(), fb(), gbt_num_consistent(), GIST_LEAF, GISTENTRY::key, PG_GETARG_OID, PG_GETARG_POINTER, PG_GETARG_UINT16, PG_GETARG_UUID_P, PG_RETURN_BOOL, and tinfo.
| 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 199 of file btree_uuid.c.
References DatumGetPointer(), fb(), penalty_num, PG_GETARG_POINTER, PG_RETURN_POINTER, and uuid_2_double().
| Datum gbt_uuid_picksplit | ( | PG_FUNCTION_ARGS | ) |
Definition at line 220 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 228 of file btree_uuid.c.
References fb(), gbt_num_same(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
| Datum gbt_uuid_sortsupport | ( | PG_FUNCTION_ARGS | ) |
Definition at line 249 of file btree_uuid.c.
References SortSupportData::comparator, fb(), gbt_uuid_ssup_cmp(), PG_GETARG_POINTER, PG_RETURN_VOID, and SortSupportData::ssup_extra.
|
static |
Definition at line 239 of file btree_uuid.c.
References DatumGetPointer(), fb(), uuid_internal_cmp(), x, and y.
Referenced by gbt_uuid_sortsupport().
| Datum gbt_uuid_union | ( | PG_FUNCTION_ARGS | ) |
Definition at line 158 of file btree_uuid.c.
References fb(), gbt_num_union(), palloc(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
Definition at line 44 of file btree_uuid.c.
References a, b, and uuid_internal_cmp().
Definition at line 38 of file btree_uuid.c.
References a, b, and uuid_internal_cmp().
Definition at line 68 of file btree_uuid.c.
References a, b, fb(), and uuid_internal_cmp().
Definition at line 56 of file btree_uuid.c.
References a, b, and uuid_internal_cmp().
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 | ) |
Definition at line 171 of file btree_uuid.c.
References pg_uuid_t::data, fb(), pg_bswap64(), and UUID_LEN.
Referenced by gbt_uuid_penalty().
Definition at line 32 of file btree_uuid.c.
References fb(), 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().