|
PostgreSQL Source Code git master
|
#include "postgres.h"#include "btree_gist.h"#include "btree_utils_num.h"#include "catalog/pg_type.h"#include "utils/builtins.h"#include "utils/rel.h"#include "utils/sortsupport.h"
Go to the source code of this file.
Data Structures | |
| struct | inetkey |
Typedefs | |
| typedef struct inetkey | inetKEY |
Variables | |
| static const gbtree_ninfo | tinfo |
| Datum gbt_inet_compress | ( | PG_FUNCTION_ARGS | ) |
Definition at line 93 of file btree_inet.c.
References Assert, convert_network_to_scalar(), fb(), gistentryinit, GISTENTRY::key, GISTENTRY::leafkey, inetkey::lower, GISTENTRY::offset, GISTENTRY::page, palloc_object, PG_GETARG_POINTER, PG_RETURN_POINTER, PointerGetDatum(), GISTENTRY::rel, and inetkey::upper.
| Datum gbt_inet_consistent | ( | PG_FUNCTION_ARGS | ) |
Definition at line 118 of file btree_inet.c.
References Assert, convert_network_to_scalar(), DatumGetPointer(), fb(), gbt_num_consistent(), GIST_LEAF, GISTENTRY::key, PG_GETARG_DATUM, PG_GETARG_OID, PG_GETARG_POINTER, PG_GETARG_UINT16, PG_RETURN_BOOL, and tinfo.
| Datum gbt_inet_penalty | ( | PG_FUNCTION_ARGS | ) |
Definition at line 156 of file btree_inet.c.
References DatumGetPointer(), fb(), penalty_num, PG_GETARG_POINTER, and PG_RETURN_POINTER.
| Datum gbt_inet_picksplit | ( | PG_FUNCTION_ARGS | ) |
Definition at line 168 of file btree_inet.c.
References gbt_num_picksplit(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
| Datum gbt_inet_same | ( | PG_FUNCTION_ARGS | ) |
Definition at line 176 of file btree_inet.c.
References fb(), gbt_num_same(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
| Datum gbt_inet_sortsupport | ( | PG_FUNCTION_ARGS | ) |
Definition at line 202 of file btree_inet.c.
References SortSupportData::comparator, fb(), gbt_inet_ssup_cmp(), PG_GETARG_POINTER, PG_RETURN_VOID, and SortSupportData::ssup_extra.
|
static |
Definition at line 187 of file btree_inet.c.
References DatumGetPointer(), fb(), x, and y.
Referenced by gbt_inet_sortsupport().
| Datum gbt_inet_union | ( | PG_FUNCTION_ARGS | ) |
Definition at line 146 of file btree_inet.c.
References fb(), gbt_num_union(), palloc(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
Definition at line 56 of file btree_inet.c.
| PG_FUNCTION_INFO_V1 | ( | gbt_inet_compress | ) |
| PG_FUNCTION_INFO_V1 | ( | gbt_inet_consistent | ) |
| PG_FUNCTION_INFO_V1 | ( | gbt_inet_penalty | ) |
| PG_FUNCTION_INFO_V1 | ( | gbt_inet_picksplit | ) |
| PG_FUNCTION_INFO_V1 | ( | gbt_inet_same | ) |
| PG_FUNCTION_INFO_V1 | ( | gbt_inet_sortsupport | ) |
| PG_FUNCTION_INFO_V1 | ( | gbt_inet_union | ) |
|
static |
Definition at line 73 of file btree_inet.c.
Referenced by gbt_inet_consistent(), gbt_inet_picksplit(), gbt_inet_same(), and gbt_inet_union().