|
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(), fb(), gbt_num_consistent(), GIST_LEAF, GISTENTRY::key, PG_GETARG_OID, PG_GETARG_POINTER, PG_GETARG_UINT16, PG_RETURN_BOOL, and tinfo.
Definition at line 73 of file btree_oid.c.
| Datum gbt_oid_distance | ( | PG_FUNCTION_ARGS | ) |
Definition at line 160 of file btree_oid.c.
References DatumGetPointer(), fb(), gbt_num_distance(), GIST_LEAF, GISTENTRY::key, PG_GETARG_OID, PG_GETARG_POINTER, PG_RETURN_FLOAT8, and tinfo.
| 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 188 of file btree_oid.c.
References DatumGetPointer(), fb(), penalty_num, PG_GETARG_POINTER, and PG_RETURN_POINTER.
| Datum gbt_oid_picksplit | ( | PG_FUNCTION_ARGS | ) |
Definition at line 200 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 208 of file btree_oid.c.
References fb(), gbt_num_same(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
| Datum gbt_oid_sortsupport | ( | PG_FUNCTION_ARGS | ) |
Definition at line 234 of file btree_oid.c.
References SortSupportData::comparator, fb(), gbt_oid_ssup_cmp(), PG_GETARG_POINTER, PG_RETURN_VOID, and SortSupportData::ssup_extra.
|
static |
Definition at line 219 of file btree_oid.c.
References DatumGetPointer(), fb(), x, and y.
Referenced by gbt_oid_sortsupport().
| Datum gbt_oid_union | ( | PG_FUNCTION_ARGS | ) |
Definition at line 178 of file btree_oid.c.
References fb(), gbt_num_union(), palloc(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
Definition at line 56 of file btree_oid.c.
| 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().