PostgreSQL Source Code
git master
|
#include "postgres.h"
#include "btree_gist.h"
#include "btree_utils_var.h"
#include "utils/fmgrprotos.h"
#include "utils/varbit.h"
Go to the source code of this file.
Variables | |
static const gbtree_vinfo | tinfo |
Datum gbt_bit_compress | ( | PG_FUNCTION_ARGS | ) |
Definition at line 128 of file btree_bit.c.
References gbt_var_compress(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
Datum gbt_bit_consistent | ( | PG_FUNCTION_ARGS | ) |
Definition at line 136 of file btree_bit.c.
References DatumGetByteaP, DatumGetPointer(), gbt_bit_xfrm(), gbt_var_consistent(), gbt_var_key_readable(), GIST_LEAF, GISTENTRY::key, sort-test::key, PG_GET_COLLATION, PG_GETARG_DATUM, PG_GETARG_POINTER, PG_GETARG_UINT16, PG_RETURN_BOOL, and tinfo.
|
static |
Definition at line 94 of file btree_bit.c.
References gbt_bit_xfrm(), gbt_var_key_copy(), gbt_var_key_readable(), GBT_VARKEY_R::lower, pfree(), and GBT_VARKEY_R::upper.
Datum gbt_bit_penalty | ( | PG_FUNCTION_ARGS | ) |
Definition at line 201 of file btree_bit.c.
References gbt_var_penalty(), PG_GET_COLLATION, PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
Datum gbt_bit_picksplit | ( | PG_FUNCTION_ARGS | ) |
Definition at line 178 of file btree_bit.c.
References gbt_var_picksplit(), PG_GET_COLLATION, PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
Datum gbt_bit_same | ( | PG_FUNCTION_ARGS | ) |
Definition at line 189 of file btree_bit.c.
References gbt_var_same(), PG_GET_COLLATION, PG_GETARG_DATUM, PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
Datum gbt_bit_union | ( | PG_FUNCTION_ARGS | ) |
Definition at line 167 of file btree_bit.c.
References gbt_var_union(), PG_GET_COLLATION, PG_GETARG_POINTER, PG_RETURN_POINTER, size, and tinfo.
Definition at line 75 of file btree_bit.c.
References INTALIGN, palloc(), SET_VARSIZE, VARBITBYTES, VARBITS, VARDATA, and VARHDRSZ.
Referenced by gbt_bit_consistent(), and gbt_bit_l2n().
Definition at line 66 of file btree_bit.c.
References a, b, byteacmp(), DatumGetInt32(), DirectFunctionCall2, and PointerGetDatum().
Definition at line 42 of file btree_bit.c.
References a, b, biteq(), DatumGetBool(), DirectFunctionCall2, and PointerGetDatum().
Definition at line 34 of file btree_bit.c.
References a, b, bitge(), DatumGetBool(), DirectFunctionCall2, and PointerGetDatum().
Definition at line 26 of file btree_bit.c.
References a, b, bitgt(), DatumGetBool(), DirectFunctionCall2, and PointerGetDatum().
Definition at line 50 of file btree_bit.c.
References a, b, bitle(), DatumGetBool(), DirectFunctionCall2, and PointerGetDatum().
Definition at line 58 of file btree_bit.c.
References a, b, bitlt(), DatumGetBool(), DirectFunctionCall2, and PointerGetDatum().
PG_FUNCTION_INFO_V1 | ( | gbt_bit_compress | ) |
PG_FUNCTION_INFO_V1 | ( | gbt_bit_consistent | ) |
PG_FUNCTION_INFO_V1 | ( | gbt_bit_penalty | ) |
PG_FUNCTION_INFO_V1 | ( | gbt_bit_picksplit | ) |
PG_FUNCTION_INFO_V1 | ( | gbt_bit_same | ) |
PG_FUNCTION_INFO_V1 | ( | gbt_bit_union | ) |
|
static |
Definition at line 108 of file btree_bit.c.
Referenced by binary_upgrade_set_type_oids_by_type_oid(), gbt_bit_compress(), gbt_bit_consistent(), gbt_bit_penalty(), gbt_bit_picksplit(), gbt_bit_same(), gbt_bit_union(), gbt_num_bin_union(), gbt_num_compress(), gbt_num_consistent(), gbt_num_distance(), gbt_num_fetch(), gbt_num_picksplit(), gbt_num_same(), gbt_num_union(), gbt_var_bin_union(), gbt_var_consistent(), gbt_var_leaf2node(), gbt_var_node_cp_len(), gbt_var_node_pf_match(), gbt_var_penalty(), gbt_var_picksplit(), gbt_var_same(), gbt_var_union(), and getConstraints().