|
PostgreSQL Source Code git master
|
#include "postgres.h"#include "btree_gist.h"#include "btree_utils_num.h"#include "utils/fmgrprotos.h"#include "utils/inet.h"#include "utils/rel.h"#include "utils/sortsupport.h"
Go to the source code of this file.
Data Structures | |
| struct | mac8KEY |
Variables | |
| static const gbtree_ninfo | tinfo |
| Datum gbt_macad8_compress | ( | PG_FUNCTION_ARGS | ) |
Definition at line 107 of file btree_macaddr8.c.
References gbt_num_compress(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
| Datum gbt_macad8_consistent | ( | PG_FUNCTION_ARGS | ) |
Definition at line 123 of file btree_macaddr8.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.
| Datum gbt_macad8_fetch | ( | PG_FUNCTION_ARGS | ) |
Definition at line 115 of file btree_macaddr8.c.
References gbt_num_fetch(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
| Datum gbt_macad8_penalty | ( | PG_FUNCTION_ARGS | ) |
Definition at line 156 of file btree_macaddr8.c.
References DatumGetPointer(), fb(), mac8_2_uint64(), penalty_num, PG_GETARG_POINTER, and PG_RETURN_POINTER.
| Datum gbt_macad8_picksplit | ( | PG_FUNCTION_ARGS | ) |
Definition at line 175 of file btree_macaddr8.c.
References gbt_num_picksplit(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
| Datum gbt_macad8_same | ( | PG_FUNCTION_ARGS | ) |
Definition at line 183 of file btree_macaddr8.c.
References fb(), gbt_num_same(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
| Datum gbt_macad8_sortsupport | ( | PG_FUNCTION_ARGS | ) |
Definition at line 206 of file btree_macaddr8.c.
References SortSupportData::comparator, fb(), gbt_macaddr8_ssup_cmp(), PG_GETARG_POINTER, PG_RETURN_VOID, and SortSupportData::ssup_extra.
| Datum gbt_macad8_union | ( | PG_FUNCTION_ARGS | ) |
Definition at line 146 of file btree_macaddr8.c.
References fb(), gbt_num_union(), palloc0(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
Definition at line 42 of file btree_macaddr8.c.
References a, b, DatumGetBool(), DirectFunctionCall2, macaddr8_eq(), and PointerGetDatum().
Definition at line 36 of file btree_macaddr8.c.
References a, b, DatumGetBool(), DirectFunctionCall2, macaddr8_ge(), and PointerGetDatum().
Definition at line 31 of file btree_macaddr8.c.
References a, b, DatumGetBool(), DirectFunctionCall2, macaddr8_gt(), and PointerGetDatum().
Definition at line 61 of file btree_macaddr8.c.
References a, b, DatumGetInt32(), DirectFunctionCall2, fb(), macaddr8_cmp(), and Macaddr8PGetDatum().
Definition at line 48 of file btree_macaddr8.c.
References a, b, DatumGetBool(), DirectFunctionCall2, macaddr8_le(), and PointerGetDatum().
Definition at line 54 of file btree_macaddr8.c.
References a, b, DatumGetBool(), DirectFunctionCall2, macaddr8_lt(), and PointerGetDatum().
|
static |
Definition at line 194 of file btree_macaddr8.c.
References DatumGetInt32(), DatumGetPointer(), DirectFunctionCall2, fb(), macaddr8_cmp(), Macaddr8PGetDatum(), x, and y.
Referenced by gbt_macad8_sortsupport().
Definition at line 95 of file btree_macaddr8.c.
References i.
Referenced by gbt_macad8_penalty().
| PG_FUNCTION_INFO_V1 | ( | gbt_macad8_compress | ) |
| PG_FUNCTION_INFO_V1 | ( | gbt_macad8_consistent | ) |
| PG_FUNCTION_INFO_V1 | ( | gbt_macad8_fetch | ) |
| PG_FUNCTION_INFO_V1 | ( | gbt_macad8_penalty | ) |
| PG_FUNCTION_INFO_V1 | ( | gbt_macad8_picksplit | ) |
| PG_FUNCTION_INFO_V1 | ( | gbt_macad8_same | ) |
| PG_FUNCTION_INFO_V1 | ( | gbt_macad8_sortsupport | ) |
| PG_FUNCTION_INFO_V1 | ( | gbt_macad8_union | ) |
|
static |
Definition at line 75 of file btree_macaddr8.c.
Referenced by gbt_macad8_compress(), gbt_macad8_consistent(), gbt_macad8_fetch(), gbt_macad8_picksplit(), gbt_macad8_same(), and gbt_macad8_union().