#include "postgres.h"
#include "btree_gist.h"
#include "btree_utils_num.h"
#include "utils/fmgrprotos.h"
#include "utils/date.h"
#include "utils/rel.h"
#include "utils/sortsupport.h"
Go to the source code of this file.
Definition at line 120 of file btree_date.c.
References date_mi(), DatumGetInt32(), DirectFunctionCall2, PG_GETARG_DATUM, and PG_RETURN_INT32.
Definition at line 136 of file btree_date.c.
References gbt_num_compress(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
Definition at line 152 of file btree_date.c.
References DatumGetPointer(), gbt_num_consistent(), GIST_LEAF, GISTENTRY::key, sort-test::key, dateKEY::lower, PG_GETARG_DATEADT, PG_GETARG_POINTER, PG_GETARG_UINT16, PG_RETURN_BOOL, tinfo, and dateKEY::upper.
Definition at line 175 of file btree_date.c.
References DatumGetPointer(), gbt_num_distance(), GIST_LEAF, GISTENTRY::key, sort-test::key, dateKEY::lower, PG_GETARG_DATEADT, PG_GETARG_POINTER, PG_RETURN_FLOAT8, tinfo, and dateKEY::upper.
Definition at line 144 of file btree_date.c.
References gbt_num_fetch(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
Definition at line 202 of file btree_date.c.
References date_mi(), DateADTGetDatum(), DatumGetInt32(), DatumGetPointer(), DirectFunctionCall2, sort-test::key, dateKEY::lower, Max, PG_GETARG_POINTER, PG_RETURN_POINTER, and dateKEY::upper.
Definition at line 238 of file btree_date.c.
References gbt_num_picksplit(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
Definition at line 246 of file btree_date.c.
References gbt_num_same(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
Definition at line 269 of file btree_date.c.
References SortSupportData::comparator, gbt_date_ssup_cmp(), PG_GETARG_POINTER, PG_RETURN_VOID, and SortSupportData::ssup_extra.
Definition at line 257 of file btree_date.c.
References date_cmp(), DateADTGetDatum(), DatumGetInt32(), DatumGetPointer(), DirectFunctionCall2, dateKEY::lower, x, and y.
Referenced by gbt_date_sortsupport().
Definition at line 192 of file btree_date.c.
References gbt_num_union(), palloc(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.
Definition at line 47 of file btree_date.c.
References a, b, date_eq(), DateADTGetDatum(), DatumGetBool(), and DirectFunctionCall2.
Definition at line 39 of file btree_date.c.
References a, b, date_ge(), DateADTGetDatum(), DatumGetBool(), and DirectFunctionCall2.
Definition at line 31 of file btree_date.c.
References a, b, date_gt(), DateADTGetDatum(), DatumGetBool(), and DirectFunctionCall2.
Definition at line 74 of file btree_date.c.
References a, b, date_cmp(), DateADTGetDatum(), DatumGetInt32(), DirectFunctionCall2, dateKEY::lower, and dateKEY::upper.
Definition at line 56 of file btree_date.c.
References a, b, date_le(), DateADTGetDatum(), DatumGetBool(), and DirectFunctionCall2.
Definition at line 64 of file btree_date.c.
References a, b, date_lt(), DateADTGetDatum(), DatumGetBool(), and DirectFunctionCall2.
Definition at line 92 of file btree_date.c.
References a, b, date_mi(), DateADTGetDatum(), DatumGetInt32(), and DirectFunctionCall2.
Definition at line 103 of file btree_date.c.
Referenced by gbt_date_compress(), gbt_date_consistent(), gbt_date_distance(), gbt_date_fetch(), gbt_date_picksplit(), gbt_date_same(), and gbt_date_union().