|
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 | oidKEY |
Variables | |
| static const gbtree_ninfo | tinfo |
| Datum gbt_oid_compress | ( | PG_FUNCTION_ARGS | ) |
Definition at line 121 of file btree_oid.c.
References gbt_num_compress(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
| Datum gbt_oid_consistent | ( | PG_FUNCTION_ARGS | ) |
Definition at line 137 of file btree_oid.c.
References DatumGetPointer(), gbt_num_consistent(), GIST_LEAF, GISTENTRY::key, sort-test::key, oidKEY::lower, PG_GETARG_OID, PG_GETARG_POINTER, PG_GETARG_UINT16, PG_RETURN_BOOL, tinfo, and oidKEY::upper.
Definition at line 73 of file btree_oid.c.
| Datum gbt_oid_distance | ( | PG_FUNCTION_ARGS | ) |
Definition at line 159 of file btree_oid.c.
References DatumGetPointer(), gbt_num_distance(), GIST_LEAF, GISTENTRY::key, sort-test::key, oidKEY::lower, PG_GETARG_OID, PG_GETARG_POINTER, PG_RETURN_FLOAT8, tinfo, and oidKEY::upper.
| Datum gbt_oid_fetch | ( | PG_FUNCTION_ARGS | ) |
Definition at line 129 of file btree_oid.c.
References gbt_num_fetch(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
| Datum gbt_oid_penalty | ( | PG_FUNCTION_ARGS | ) |
Definition at line 186 of file btree_oid.c.
References DatumGetPointer(), sort-test::key, oidKEY::lower, penalty_num, PG_GETARG_POINTER, PG_RETURN_POINTER, and oidKEY::upper.
| Datum gbt_oid_picksplit | ( | PG_FUNCTION_ARGS | ) |
Definition at line 198 of file btree_oid.c.
References gbt_num_picksplit(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
| Datum gbt_oid_same | ( | PG_FUNCTION_ARGS | ) |
Definition at line 206 of file btree_oid.c.
References gbt_num_same(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
| Datum gbt_oid_sortsupport | ( | PG_FUNCTION_ARGS | ) |
Definition at line 232 of file btree_oid.c.
References SortSupportData::comparator, gbt_oid_ssup_cmp(), PG_GETARG_POINTER, PG_RETURN_VOID, and SortSupportData::ssup_extra.
|
static |
Definition at line 217 of file btree_oid.c.
References DatumGetPointer(), oidKEY::lower, x, and y.
Referenced by gbt_oid_sortsupport().
| Datum gbt_oid_union | ( | PG_FUNCTION_ARGS | ) |
Definition at line 176 of file btree_oid.c.
References gbt_num_union(), palloc(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
|
static |
|
static |
|
static |
|
static |
Definition at line 56 of file btree_oid.c.
References a, b, oidKEY::lower, and oidKEY::upper.
|
static |
|
static |
| Datum oid_dist | ( | PG_FUNCTION_ARGS | ) |
Definition at line 102 of file btree_oid.c.
References a, b, PG_GETARG_OID, and PG_RETURN_OID.
| PG_FUNCTION_INFO_V1 | ( | gbt_oid_compress | ) |
| PG_FUNCTION_INFO_V1 | ( | gbt_oid_consistent | ) |
| PG_FUNCTION_INFO_V1 | ( | gbt_oid_distance | ) |
| PG_FUNCTION_INFO_V1 | ( | gbt_oid_fetch | ) |
| PG_FUNCTION_INFO_V1 | ( | gbt_oid_penalty | ) |
| PG_FUNCTION_INFO_V1 | ( | gbt_oid_picksplit | ) |
| PG_FUNCTION_INFO_V1 | ( | gbt_oid_same | ) |
| PG_FUNCTION_INFO_V1 | ( | gbt_oid_sortsupport | ) |
| PG_FUNCTION_INFO_V1 | ( | gbt_oid_union | ) |
| PG_FUNCTION_INFO_V1 | ( | oid_dist | ) |
|
static |
Definition at line 85 of file btree_oid.c.
Referenced by gbt_oid_compress(), gbt_oid_consistent(), gbt_oid_distance(), gbt_oid_fetch(), gbt_oid_picksplit(), gbt_oid_same(), and gbt_oid_union().