PostgreSQL Source Code
git master
|
#include "postgres.h"
#include "btree_gist.h"
#include "btree_utils_num.h"
#include "utils/builtins.h"
#include "utils/inet.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 111 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 127 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 119 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 161 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 180 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 188 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 150 of file btree_macaddr.c.
References gbt_num_union(), palloc0(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
Definition at line 42 of file btree_macaddr.c.
References a, b, DatumGetBool(), DirectFunctionCall2, macaddr_eq(), and PointerGetDatum().
Definition at line 36 of file btree_macaddr.c.
References a, b, DatumGetBool(), DirectFunctionCall2, macaddr_ge(), and PointerGetDatum().
Definition at line 31 of file btree_macaddr.c.
References a, b, DatumGetBool(), DirectFunctionCall2, macaddr_gt(), and PointerGetDatum().
|
static |
Definition at line 61 of file btree_macaddr.c.
References a, b, DatumGetInt32(), DirectFunctionCall2, macKEY::lower, macaddr_cmp(), MacaddrPGetDatum(), res, and macKEY::upper.
Definition at line 48 of file btree_macaddr.c.
References a, b, DatumGetBool(), DirectFunctionCall2, macaddr_le(), and PointerGetDatum().
Definition at line 54 of file btree_macaddr.c.
References a, b, DatumGetBool(), DirectFunctionCall2, macaddr_lt(), and PointerGetDatum().
|
static |
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 | ) |
|
static |
Definition at line 75 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().