#include "postgres.h"
#include "btree_gist.h"
#include "btree_utils_num.h"
#include "common/int.h"
#include "utils/rel.h"
#include "utils/sortsupport.h"
Go to the source code of this file.
Definition at line 121 of file btree_int2.c.
References gbt_num_compress(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
Definition at line 137 of file btree_int2.c.
References DatumGetPointer(), gbt_num_consistent(), GIST_LEAF, GISTENTRY::key, sort-test::key, int16key::lower, PG_GETARG_INT16, PG_GETARG_POINTER, PG_GETARG_UINT16, PG_RETURN_BOOL, tinfo, and int16key::upper.
Definition at line 159 of file btree_int2.c.
References DatumGetPointer(), gbt_num_distance(), GIST_LEAF, GISTENTRY::key, sort-test::key, int16key::lower, PG_GETARG_INT16, PG_GETARG_POINTER, PG_RETURN_FLOAT8, tinfo, and int16key::upper.
Definition at line 129 of file btree_int2.c.
References gbt_num_fetch(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
Definition at line 186 of file btree_int2.c.
References DatumGetPointer(), sort-test::key, int16key::lower, penalty_num, PG_GETARG_POINTER, PG_RETURN_POINTER, and int16key::upper.
Definition at line 198 of file btree_int2.c.
References gbt_num_picksplit(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
Definition at line 206 of file btree_int2.c.
References gbt_num_same(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
Definition at line 232 of file btree_int2.c.
References SortSupportData::comparator, gbt_int2_ssup_cmp(), PG_GETARG_POINTER, and PG_RETURN_VOID.
Definition at line 217 of file btree_int2.c.
References DatumGetPointer(), int16key::lower, x, and y.
Referenced by gbt_int2_sortsupport().
Definition at line 176 of file btree_int2.c.
References gbt_num_union(), palloc(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
Definition at line 57 of file btree_int2.c.
References a, b, int16key::lower, and int16key::upper.
Definition at line 97 of file btree_int2.c.
References a, b, ereport, errcode(), errmsg(), ERROR, PG_GETARG_INT16, PG_INT16_MIN, PG_RETURN_INT16, and pg_sub_s16_overflow().
Definition at line 80 of file btree_int2.c.
Referenced by gbt_int2_compress(), gbt_int2_consistent(), gbt_int2_distance(), gbt_int2_fetch(), gbt_int2_picksplit(), gbt_int2_same(), and gbt_int2_union().