PostgreSQL Source Code git master
|
#include "postgres.h"
#include "btree_gist.h"
#include "btree_utils_num.h"
#include "fmgr.h"
#include "utils/fmgrprotos.h"
#include "utils/fmgroids.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_enum_compress | ( | PG_FUNCTION_ARGS | ) |
Definition at line 107 of file btree_enum.c.
References gbt_num_compress(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
Datum gbt_enum_consistent | ( | PG_FUNCTION_ARGS | ) |
Definition at line 123 of file btree_enum.c.
References DatumGetPointer(), gbt_num_consistent(), GIST_LEAF, GISTENTRY::key, sort-test::key, oidKEY::lower, PG_GETARG_OID, PG_GETARG_POINTER, PG_GETARG_UINT16, PG_RETURN_BOOL, tinfo, and oidKEY::upper.
Datum gbt_enum_fetch | ( | PG_FUNCTION_ARGS | ) |
Definition at line 115 of file btree_enum.c.
References gbt_num_fetch(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
Datum gbt_enum_penalty | ( | PG_FUNCTION_ARGS | ) |
Definition at line 156 of file btree_enum.c.
References DatumGetPointer(), sort-test::key, oidKEY::lower, penalty_num, PG_GETARG_POINTER, PG_RETURN_POINTER, and oidKEY::upper.
Datum gbt_enum_picksplit | ( | PG_FUNCTION_ARGS | ) |
Definition at line 168 of file btree_enum.c.
References gbt_num_picksplit(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
Datum gbt_enum_same | ( | PG_FUNCTION_ARGS | ) |
Definition at line 176 of file btree_enum.c.
References gbt_num_same(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
Datum gbt_enum_sortsupport | ( | PG_FUNCTION_ARGS | ) |
Definition at line 201 of file btree_enum.c.
References SortSupportData::comparator, fmgr_info_cxt(), gbt_enum_ssup_cmp(), MemoryContextAlloc(), PG_GETARG_POINTER, PG_RETURN_VOID, SortSupportData::ssup_cxt, and SortSupportData::ssup_extra.
|
static |
Definition at line 187 of file btree_enum.c.
References CallerFInfoFunctionCall2(), DatumGetInt32(), DatumGetPointer(), enum_cmp(), InvalidOid, oidKEY::lower, SortSupportData::ssup_extra, x, and y.
Referenced by gbt_enum_sortsupport().
Datum gbt_enum_union | ( | PG_FUNCTION_ARGS | ) |
Definition at line 146 of file btree_enum.c.
References gbt_num_union(), palloc(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
|
static |
|
static |
Definition at line 40 of file btree_enum.c.
References a, b, CallerFInfoFunctionCall2(), DatumGetBool(), enum_ge(), InvalidOid, and ObjectIdGetDatum().
|
static |
Definition at line 33 of file btree_enum.c.
References a, b, CallerFInfoFunctionCall2(), DatumGetBool(), enum_gt(), InvalidOid, and ObjectIdGetDatum().
|
static |
Definition at line 67 of file btree_enum.c.
References a, b, CallerFInfoFunctionCall2(), DatumGetInt32(), enum_cmp(), InvalidOid, oidKEY::lower, ObjectIdGetDatum(), and oidKEY::upper.
|
static |
Definition at line 52 of file btree_enum.c.
References a, b, CallerFInfoFunctionCall2(), DatumGetBool(), enum_le(), InvalidOid, and ObjectIdGetDatum().
|
static |
Definition at line 59 of file btree_enum.c.
References a, b, CallerFInfoFunctionCall2(), DatumGetBool(), enum_lt(), InvalidOid, and ObjectIdGetDatum().
PG_FUNCTION_INFO_V1 | ( | gbt_enum_compress | ) |
PG_FUNCTION_INFO_V1 | ( | gbt_enum_consistent | ) |
PG_FUNCTION_INFO_V1 | ( | gbt_enum_fetch | ) |
PG_FUNCTION_INFO_V1 | ( | gbt_enum_penalty | ) |
PG_FUNCTION_INFO_V1 | ( | gbt_enum_picksplit | ) |
PG_FUNCTION_INFO_V1 | ( | gbt_enum_same | ) |
PG_FUNCTION_INFO_V1 | ( | gbt_enum_sortsupport | ) |
PG_FUNCTION_INFO_V1 | ( | gbt_enum_union | ) |
|
static |
Definition at line 87 of file btree_enum.c.
Referenced by gbt_enum_compress(), gbt_enum_consistent(), gbt_enum_fetch(), gbt_enum_picksplit(), gbt_enum_same(), and gbt_enum_union().