|
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 | macKEY |
Variables | |
| static const gbtree_ninfo | tinfo |
| Datum gbt_macad_compress | ( | PG_FUNCTION_ARGS | ) |
Definition at line 108 of file btree_macaddr.c.
References gbt_num_compress(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
| Datum gbt_macad_consistent | ( | PG_FUNCTION_ARGS | ) |
Definition at line 124 of file btree_macaddr.c.
References DatumGetPointer(), gbt_num_consistent(), GIST_LEAF, GISTENTRY::key, sort-test::key, macKEY::lower, PG_GETARG_POINTER, PG_GETARG_UINT16, PG_RETURN_BOOL, tinfo, and macKEY::upper.
| Datum gbt_macad_fetch | ( | PG_FUNCTION_ARGS | ) |
Definition at line 116 of file btree_macaddr.c.
References gbt_num_fetch(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
| Datum gbt_macad_penalty | ( | PG_FUNCTION_ARGS | ) |
Definition at line 158 of file btree_macaddr.c.
References DatumGetPointer(), sort-test::key, macKEY::lower, mac_2_uint64(), penalty_num, PG_GETARG_POINTER, PG_RETURN_POINTER, and macKEY::upper.
| Datum gbt_macad_picksplit | ( | PG_FUNCTION_ARGS | ) |
Definition at line 177 of file btree_macaddr.c.
References gbt_num_picksplit(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
| Datum gbt_macad_same | ( | PG_FUNCTION_ARGS | ) |
Definition at line 185 of file btree_macaddr.c.
References gbt_num_same(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
| Datum gbt_macad_union | ( | PG_FUNCTION_ARGS | ) |
Definition at line 147 of file btree_macaddr.c.
References gbt_num_union(), palloc0(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
| Datum gbt_macaddr_sortsupport | ( | PG_FUNCTION_ARGS | ) |
Definition at line 208 of file btree_macaddr.c.
References SortSupportData::comparator, gbt_macaddr_ssup_cmp(), PG_GETARG_POINTER, PG_RETURN_VOID, and SortSupportData::ssup_extra.
|
static |
Definition at line 196 of file btree_macaddr.c.
References DatumGetInt32(), DatumGetPointer(), DirectFunctionCall2, macKEY::lower, macaddr_cmp(), MacaddrPGetDatum(), x, and y.
Referenced by gbt_macaddr_sortsupport().
|
static |
Definition at line 43 of file btree_macaddr.c.
References a, b, DatumGetBool(), DirectFunctionCall2, macaddr_eq(), and PointerGetDatum().
|
static |
Definition at line 37 of file btree_macaddr.c.
References a, b, DatumGetBool(), DirectFunctionCall2, macaddr_ge(), and PointerGetDatum().
|
static |
Definition at line 32 of file btree_macaddr.c.
References a, b, DatumGetBool(), DirectFunctionCall2, macaddr_gt(), and PointerGetDatum().
|
static |
Definition at line 62 of file btree_macaddr.c.
References a, b, DatumGetInt32(), DirectFunctionCall2, macKEY::lower, macaddr_cmp(), MacaddrPGetDatum(), and macKEY::upper.
|
static |
Definition at line 49 of file btree_macaddr.c.
References a, b, DatumGetBool(), DirectFunctionCall2, macaddr_le(), and PointerGetDatum().
|
static |
Definition at line 55 of file btree_macaddr.c.
References a, b, DatumGetBool(), DirectFunctionCall2, macaddr_lt(), and PointerGetDatum().
Definition at line 96 of file btree_macaddr.c.
References i.
Referenced by gbt_macad_penalty().
| PG_FUNCTION_INFO_V1 | ( | gbt_macad_compress | ) |
| PG_FUNCTION_INFO_V1 | ( | gbt_macad_consistent | ) |
| PG_FUNCTION_INFO_V1 | ( | gbt_macad_fetch | ) |
| PG_FUNCTION_INFO_V1 | ( | gbt_macad_penalty | ) |
| PG_FUNCTION_INFO_V1 | ( | gbt_macad_picksplit | ) |
| PG_FUNCTION_INFO_V1 | ( | gbt_macad_same | ) |
| PG_FUNCTION_INFO_V1 | ( | gbt_macad_union | ) |
| PG_FUNCTION_INFO_V1 | ( | gbt_macaddr_sortsupport | ) |
|
static |
Definition at line 76 of file btree_macaddr.c.
Referenced by gbt_macad_compress(), gbt_macad_consistent(), gbt_macad_fetch(), gbt_macad_picksplit(), gbt_macad_same(), and gbt_macad_union().