Thanks to visit codestin.com
Credit goes to doxygen.postgresql.org

PostgreSQL Source Code git master
btree_time.c File Reference
#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"
#include "utils/timestamp.h"
Include dependency graph for btree_time.c:

Go to the source code of this file.

Data Structures

struct  timeKEY
 

Functions

 PG_FUNCTION_INFO_V1 (gbt_time_compress)
 
 PG_FUNCTION_INFO_V1 (gbt_timetz_compress)
 
 PG_FUNCTION_INFO_V1 (gbt_time_fetch)
 
 PG_FUNCTION_INFO_V1 (gbt_time_union)
 
 PG_FUNCTION_INFO_V1 (gbt_time_picksplit)
 
 PG_FUNCTION_INFO_V1 (gbt_time_consistent)
 
 PG_FUNCTION_INFO_V1 (gbt_time_distance)
 
 PG_FUNCTION_INFO_V1 (gbt_timetz_consistent)
 
 PG_FUNCTION_INFO_V1 (gbt_time_penalty)
 
 PG_FUNCTION_INFO_V1 (gbt_time_same)
 
 PG_FUNCTION_INFO_V1 (gbt_time_sortsupport)
 
 PG_FUNCTION_INFO_V1 (gbt_timetz_sortsupport)
 
static bool gbt_timegt (const void *a, const void *b, FmgrInfo *flinfo)
 
static bool gbt_timege (const void *a, const void *b, FmgrInfo *flinfo)
 
static bool gbt_timeeq (const void *a, const void *b, FmgrInfo *flinfo)
 
static bool gbt_timele (const void *a, const void *b, FmgrInfo *flinfo)
 
static bool gbt_timelt (const void *a, const void *b, FmgrInfo *flinfo)
 
static int gbt_timekey_cmp (const void *a, const void *b, FmgrInfo *flinfo)
 
static float8 gbt_time_dist (const void *a, const void *b, FmgrInfo *flinfo)
 
 PG_FUNCTION_INFO_V1 (time_dist)
 
Datum time_dist (PG_FUNCTION_ARGS)
 
Datum gbt_time_compress (PG_FUNCTION_ARGS)
 
Datum gbt_timetz_compress (PG_FUNCTION_ARGS)
 
Datum gbt_time_fetch (PG_FUNCTION_ARGS)
 
Datum gbt_time_consistent (PG_FUNCTION_ARGS)
 
Datum gbt_time_distance (PG_FUNCTION_ARGS)
 
Datum gbt_timetz_consistent (PG_FUNCTION_ARGS)
 
Datum gbt_time_union (PG_FUNCTION_ARGS)
 
Datum gbt_time_penalty (PG_FUNCTION_ARGS)
 
Datum gbt_time_picksplit (PG_FUNCTION_ARGS)
 
Datum gbt_time_same (PG_FUNCTION_ARGS)
 
static int gbt_timekey_ssup_cmp (Datum x, Datum y, SortSupport ssup)
 
Datum gbt_time_sortsupport (PG_FUNCTION_ARGS)
 

Variables

static const gbtree_ninfo tinfo
 

Function Documentation

◆ gbt_time_compress()

Datum gbt_time_compress ( PG_FUNCTION_ARGS  )

Definition at line 150 of file btree_time.c.

151{
152 GISTENTRY *entry = (GISTENTRY *) PG_GETARG_POINTER(0);
153
155}
static const gbtree_ninfo tinfo
Definition: btree_time.c:118
GISTENTRY * gbt_num_compress(GISTENTRY *entry, const gbtree_ninfo *tinfo)
#define PG_GETARG_POINTER(n)
Definition: fmgr.h:276
#define PG_RETURN_POINTER(x)
Definition: fmgr.h:361

References gbt_num_compress(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.

◆ gbt_time_consistent()

Datum gbt_time_consistent ( PG_FUNCTION_ARGS  )

Definition at line 192 of file btree_time.c.

193{
194 GISTENTRY *entry = (GISTENTRY *) PG_GETARG_POINTER(0);
195 TimeADT query = PG_GETARG_TIMEADT(1);
197
198 /* Oid subtype = PG_GETARG_OID(3); */
199 bool *recheck = (bool *) PG_GETARG_POINTER(4);
200 timeKEY *kkk = (timeKEY *) DatumGetPointer(entry->key);
202
203 /* All cases served by this function are exact */
204 *recheck = false;
205
206 key.lower = (GBT_NUMKEY *) &kkk->lower;
207 key.upper = (GBT_NUMKEY *) &kkk->upper;
208
209 PG_RETURN_BOOL(gbt_num_consistent(&key, &query, &strategy,
210 GIST_LEAF(entry), &tinfo, fcinfo->flinfo));
211}
bool gbt_num_consistent(const GBT_NUMKEY_R *key, const void *query, const StrategyNumber *strategy, bool is_leaf, const gbtree_ninfo *tinfo, FmgrInfo *flinfo)
char GBT_NUMKEY
#define PG_GETARG_TIMEADT(n)
Definition: date.h:90
int64 TimeADT
Definition: date.h:25
#define PG_GETARG_UINT16(n)
Definition: fmgr.h:272
#define PG_RETURN_BOOL(x)
Definition: fmgr.h:359
#define GIST_LEAF(entry)
Definition: gist.h:171
static Pointer DatumGetPointer(Datum X)
Definition: postgres.h:322
uint16 StrategyNumber
Definition: stratnum.h:22
Datum key
Definition: gist.h:161
TimeADT lower
Definition: btree_time.c:16
TimeADT upper
Definition: btree_time.c:17

References DatumGetPointer(), gbt_num_consistent(), GIST_LEAF, GISTENTRY::key, sort-test::key, timeKEY::lower, PG_GETARG_POINTER, PG_GETARG_TIMEADT, PG_GETARG_UINT16, PG_RETURN_BOOL, tinfo, and timeKEY::upper.

◆ gbt_time_dist()

static float8 gbt_time_dist ( const void *  a,
const void *  b,
FmgrInfo flinfo 
)
static

Definition at line 105 of file btree_time.c.

106{
107 const TimeADT *aa = (const TimeADT *) a;
108 const TimeADT *bb = (const TimeADT *) b;
109 Interval *i;
110
112 TimeADTGetDatum(*aa),
113 TimeADTGetDatum(*bb)));
114 return fabs(INTERVAL_TO_SEC(i));
115}
#define INTERVAL_TO_SEC(ivp)
Datum time_mi_time(PG_FUNCTION_ARGS)
Definition: date.c:2180
static Datum TimeADTGetDatum(TimeADT X)
Definition: date.h:78
#define DirectFunctionCall2(func, arg1, arg2)
Definition: fmgr.h:684
int b
Definition: isn.c:74
int a
Definition: isn.c:73
int i
Definition: isn.c:77
static Interval * DatumGetIntervalP(Datum X)
Definition: timestamp.h:40

References a, b, DatumGetIntervalP(), DirectFunctionCall2, i, INTERVAL_TO_SEC, time_mi_time(), and TimeADTGetDatum().

◆ gbt_time_distance()

Datum gbt_time_distance ( PG_FUNCTION_ARGS  )

Definition at line 214 of file btree_time.c.

215{
216 GISTENTRY *entry = (GISTENTRY *) PG_GETARG_POINTER(0);
217 TimeADT query = PG_GETARG_TIMEADT(1);
218
219 /* Oid subtype = PG_GETARG_OID(3); */
220 timeKEY *kkk = (timeKEY *) DatumGetPointer(entry->key);
222
223 key.lower = (GBT_NUMKEY *) &kkk->lower;
224 key.upper = (GBT_NUMKEY *) &kkk->upper;
225
227 &tinfo, fcinfo->flinfo));
228}
float8 gbt_num_distance(const GBT_NUMKEY_R *key, const void *query, bool is_leaf, const gbtree_ninfo *tinfo, FmgrInfo *flinfo)
#define PG_RETURN_FLOAT8(x)
Definition: fmgr.h:367

References DatumGetPointer(), gbt_num_distance(), GIST_LEAF, GISTENTRY::key, sort-test::key, timeKEY::lower, PG_GETARG_POINTER, PG_GETARG_TIMEADT, PG_RETURN_FLOAT8, tinfo, and timeKEY::upper.

◆ gbt_time_fetch()

Datum gbt_time_fetch ( PG_FUNCTION_ARGS  )

Definition at line 184 of file btree_time.c.

185{
186 GISTENTRY *entry = (GISTENTRY *) PG_GETARG_POINTER(0);
187
189}
GISTENTRY * gbt_num_fetch(GISTENTRY *entry, const gbtree_ninfo *tinfo)

References gbt_num_fetch(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.

◆ gbt_time_penalty()

Datum gbt_time_penalty ( PG_FUNCTION_ARGS  )

Definition at line 266 of file btree_time.c.

267{
268 timeKEY *origentry = (timeKEY *) DatumGetPointer(((GISTENTRY *) PG_GETARG_POINTER(0))->key);
270 float *result = (float *) PG_GETARG_POINTER(2);
271 Interval *intr;
272 double res;
273 double res2;
274
276 TimeADTGetDatum(newentry->upper),
277 TimeADTGetDatum(origentry->upper)));
278 res = INTERVAL_TO_SEC(intr);
279 res = Max(res, 0);
280
282 TimeADTGetDatum(origentry->lower),
283 TimeADTGetDatum(newentry->lower)));
284 res2 = INTERVAL_TO_SEC(intr);
285 res2 = Max(res2, 0);
286
287 res += res2;
288
289 *result = 0.0;
290
291 if (res > 0)
292 {
294 TimeADTGetDatum(origentry->upper),
295 TimeADTGetDatum(origentry->lower)));
296 *result += FLT_MIN;
297 *result += (float) (res / (res + INTERVAL_TO_SEC(intr)));
298 *result *= (FLT_MAX / (((GISTENTRY *) PG_GETARG_POINTER(0))->rel->rd_att->natts + 1));
299 }
300
301 PG_RETURN_POINTER(result);
302}
#define Max(x, y)
Definition: c.h:998

References DatumGetIntervalP(), DatumGetPointer(), DirectFunctionCall2, INTERVAL_TO_SEC, sort-test::key, timeKEY::lower, Max, PG_GETARG_POINTER, PG_RETURN_POINTER, time_mi_time(), TimeADTGetDatum(), and timeKEY::upper.

◆ gbt_time_picksplit()

Datum gbt_time_picksplit ( PG_FUNCTION_ARGS  )

Definition at line 305 of file btree_time.c.

306{
309 &tinfo, fcinfo->flinfo));
310}
GIST_SPLITVEC * gbt_num_picksplit(const GistEntryVector *entryvec, GIST_SPLITVEC *v, const gbtree_ninfo *tinfo, FmgrInfo *flinfo)

References gbt_num_picksplit(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.

◆ gbt_time_same()

Datum gbt_time_same ( PG_FUNCTION_ARGS  )

Definition at line 313 of file btree_time.c.

314{
315 timeKEY *b1 = (timeKEY *) PG_GETARG_POINTER(0);
316 timeKEY *b2 = (timeKEY *) PG_GETARG_POINTER(1);
317 bool *result = (bool *) PG_GETARG_POINTER(2);
318
319 *result = gbt_num_same((void *) b1, (void *) b2, &tinfo, fcinfo->flinfo);
320 PG_RETURN_POINTER(result);
321}
bool gbt_num_same(const GBT_NUMKEY *a, const GBT_NUMKEY *b, const gbtree_ninfo *tinfo, FmgrInfo *flinfo)

References gbt_num_same(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.

◆ gbt_time_sortsupport()

Datum gbt_time_sortsupport ( PG_FUNCTION_ARGS  )

Definition at line 336 of file btree_time.c.

337{
339
341 ssup->ssup_extra = NULL;
342
344}
static int gbt_timekey_ssup_cmp(Datum x, Datum y, SortSupport ssup)
Definition: btree_time.c:324
#define PG_RETURN_VOID()
Definition: fmgr.h:349
struct SortSupportData * SortSupport
Definition: sortsupport.h:58
int(* comparator)(Datum x, Datum y, SortSupport ssup)
Definition: sortsupport.h:106
void * ssup_extra
Definition: sortsupport.h:87

References SortSupportData::comparator, gbt_timekey_ssup_cmp(), PG_GETARG_POINTER, PG_RETURN_VOID, and SortSupportData::ssup_extra.

◆ gbt_time_union()

Datum gbt_time_union ( PG_FUNCTION_ARGS  )

Definition at line 256 of file btree_time.c.

257{
259 void *out = palloc(sizeof(timeKEY));
260
261 *(int *) PG_GETARG_POINTER(1) = sizeof(timeKEY);
262 PG_RETURN_POINTER(gbt_num_union(out, entryvec, &tinfo, fcinfo->flinfo));
263}
void * gbt_num_union(GBT_NUMKEY *out, const GistEntryVector *entryvec, const gbtree_ninfo *tinfo, FmgrInfo *flinfo)
void * palloc(Size size)
Definition: mcxt.c:1365

References gbt_num_union(), palloc(), PG_GETARG_POINTER, PG_RETURN_POINTER, and tinfo.

◆ gbt_timeeq()

static bool gbt_timeeq ( const void *  a,
const void *  b,
FmgrInfo flinfo 
)
static

Definition at line 58 of file btree_time.c.

59{
60 const TimeADT *aa = (const TimeADT *) a;
61 const TimeADT *bb = (const TimeADT *) b;
62
64 TimeADTGetDatum(*aa),
65 TimeADTGetDatum(*bb)));
66}
Datum time_eq(PG_FUNCTION_ARGS)
Definition: date.c:1827
static bool DatumGetBool(Datum X)
Definition: postgres.h:100

References a, b, DatumGetBool(), DirectFunctionCall2, time_eq(), and TimeADTGetDatum().

◆ gbt_timege()

static bool gbt_timege ( const void *  a,
const void *  b,
FmgrInfo flinfo 
)
static

Definition at line 47 of file btree_time.c.

48{
49 const TimeADT *aa = (const TimeADT *) a;
50 const TimeADT *bb = (const TimeADT *) b;
51
53 TimeADTGetDatum(*aa),
54 TimeADTGetDatum(*bb)));
55}
Datum time_ge(PG_FUNCTION_ARGS)
Definition: date.c:1872

References a, b, DatumGetBool(), DirectFunctionCall2, time_ge(), and TimeADTGetDatum().

◆ gbt_timegt()

static bool gbt_timegt ( const void *  a,
const void *  b,
FmgrInfo flinfo 
)
static

Definition at line 36 of file btree_time.c.

37{
38 const TimeADT *aa = (const TimeADT *) a;
39 const TimeADT *bb = (const TimeADT *) b;
40
42 TimeADTGetDatum(*aa),
43 TimeADTGetDatum(*bb)));
44}
Datum time_gt(PG_FUNCTION_ARGS)
Definition: date.c:1863

References a, b, DatumGetBool(), DirectFunctionCall2, time_gt(), and TimeADTGetDatum().

◆ gbt_timekey_cmp()

static int gbt_timekey_cmp ( const void *  a,
const void *  b,
FmgrInfo flinfo 
)
static

Definition at line 91 of file btree_time.c.

92{
93 timeKEY *ia = (timeKEY *) (((const Nsrt *) a)->t);
94 timeKEY *ib = (timeKEY *) (((const Nsrt *) b)->t);
95 int res;
96
98 if (res == 0)
100
101 return res;
102}
Datum time_cmp(PG_FUNCTION_ARGS)
Definition: date.c:1881
static int32 DatumGetInt32(Datum X)
Definition: postgres.h:212

References a, b, DatumGetInt32(), DirectFunctionCall2, timeKEY::lower, time_cmp(), TimeADTGetDatum(), and timeKEY::upper.

◆ gbt_timekey_ssup_cmp()

static int gbt_timekey_ssup_cmp ( Datum  x,
Datum  y,
SortSupport  ssup 
)
static

Definition at line 324 of file btree_time.c.

325{
326 timeKEY *arg1 = (timeKEY *) DatumGetPointer(x);
327 timeKEY *arg2 = (timeKEY *) DatumGetPointer(y);
328
329 /* for leaf items we expect lower == upper, so only compare lower */
331 TimeADTGetDatum(arg1->lower),
332 TimeADTGetDatum(arg2->lower)));
333}
int y
Definition: isn.c:76
int x
Definition: isn.c:75

References DatumGetInt32(), DatumGetPointer(), DirectFunctionCall2, timeKEY::lower, time_cmp(), TimeADTGetDatum(), x, and y.

Referenced by gbt_time_sortsupport().

◆ gbt_timele()

static bool gbt_timele ( const void *  a,
const void *  b,
FmgrInfo flinfo 
)
static

Definition at line 69 of file btree_time.c.

70{
71 const TimeADT *aa = (const TimeADT *) a;
72 const TimeADT *bb = (const TimeADT *) b;
73
75 TimeADTGetDatum(*aa),
76 TimeADTGetDatum(*bb)));
77}
Datum time_le(PG_FUNCTION_ARGS)
Definition: date.c:1854

References a, b, DatumGetBool(), DirectFunctionCall2, time_le(), and TimeADTGetDatum().

◆ gbt_timelt()

static bool gbt_timelt ( const void *  a,
const void *  b,
FmgrInfo flinfo 
)
static

Definition at line 80 of file btree_time.c.

81{
82 const TimeADT *aa = (const TimeADT *) a;
83 const TimeADT *bb = (const TimeADT *) b;
84
86 TimeADTGetDatum(*aa),
87 TimeADTGetDatum(*bb)));
88}
Datum time_lt(PG_FUNCTION_ARGS)
Definition: date.c:1845

References a, b, DatumGetBool(), DirectFunctionCall2, time_lt(), and TimeADTGetDatum().

◆ gbt_timetz_compress()

Datum gbt_timetz_compress ( PG_FUNCTION_ARGS  )

Definition at line 158 of file btree_time.c.

159{
160 GISTENTRY *entry = (GISTENTRY *) PG_GETARG_POINTER(0);
161 GISTENTRY *retval;
162
163 if (entry->leafkey)
164 {
165 timeKEY *r = (timeKEY *) palloc(sizeof(timeKEY));
166 TimeTzADT *tz = DatumGetTimeTzADTP(entry->key);
167 TimeADT tmp;
168
169 retval = palloc(sizeof(GISTENTRY));
170
171 /* We are using the time + zone only to compress */
172 tmp = tz->time + (tz->zone * INT64CONST(1000000));
173 r->lower = r->upper = tmp;
174 gistentryinit(*retval, PointerGetDatum(r),
175 entry->rel, entry->page,
176 entry->offset, false);
177 }
178 else
179 retval = entry;
180 PG_RETURN_POINTER(retval);
181}
#define INT64CONST(x)
Definition: c.h:553
static TimeTzADT * DatumGetTimeTzADTP(Datum X)
Definition: date.h:66
#define gistentryinit(e, k, r, pg, o, l)
Definition: gist.h:245
static Datum PointerGetDatum(const void *X)
Definition: postgres.h:332
OffsetNumber offset
Definition: gist.h:164
Page page
Definition: gist.h:163
Relation rel
Definition: gist.h:162
bool leafkey
Definition: gist.h:165
Definition: date.h:28
TimeADT time
Definition: date.h:29
int32 zone
Definition: date.h:30

References DatumGetTimeTzADTP(), gistentryinit, INT64CONST, GISTENTRY::key, GISTENTRY::leafkey, timeKEY::lower, GISTENTRY::offset, GISTENTRY::page, palloc(), PG_GETARG_POINTER, PG_RETURN_POINTER, PointerGetDatum(), GISTENTRY::rel, TimeTzADT::time, timeKEY::upper, and TimeTzADT::zone.

◆ gbt_timetz_consistent()

Datum gbt_timetz_consistent ( PG_FUNCTION_ARGS  )

Definition at line 231 of file btree_time.c.

232{
233 GISTENTRY *entry = (GISTENTRY *) PG_GETARG_POINTER(0);
236
237 /* Oid subtype = PG_GETARG_OID(3); */
238 bool *recheck = (bool *) PG_GETARG_POINTER(4);
239 timeKEY *kkk = (timeKEY *) DatumGetPointer(entry->key);
240 TimeADT qqq;
242
243 /* All cases served by this function are inexact */
244 *recheck = true;
245
246 qqq = query->time + (query->zone * INT64CONST(1000000));
247
248 key.lower = (GBT_NUMKEY *) &kkk->lower;
249 key.upper = (GBT_NUMKEY *) &kkk->upper;
250
251 PG_RETURN_BOOL(gbt_num_consistent(&key, &qqq, &strategy,
252 GIST_LEAF(entry), &tinfo, fcinfo->flinfo));
253}
#define PG_GETARG_TIMETZADT_P(n)
Definition: date.h:91

References DatumGetPointer(), gbt_num_consistent(), GIST_LEAF, INT64CONST, GISTENTRY::key, sort-test::key, timeKEY::lower, PG_GETARG_POINTER, PG_GETARG_TIMETZADT_P, PG_GETARG_UINT16, PG_RETURN_BOOL, TimeTzADT::time, tinfo, timeKEY::upper, and TimeTzADT::zone.

◆ PG_FUNCTION_INFO_V1() [1/13]

PG_FUNCTION_INFO_V1 ( gbt_time_compress  )

◆ PG_FUNCTION_INFO_V1() [2/13]

PG_FUNCTION_INFO_V1 ( gbt_time_consistent  )

◆ PG_FUNCTION_INFO_V1() [3/13]

PG_FUNCTION_INFO_V1 ( gbt_time_distance  )

◆ PG_FUNCTION_INFO_V1() [4/13]

PG_FUNCTION_INFO_V1 ( gbt_time_fetch  )

◆ PG_FUNCTION_INFO_V1() [5/13]

PG_FUNCTION_INFO_V1 ( gbt_time_penalty  )

◆ PG_FUNCTION_INFO_V1() [6/13]

PG_FUNCTION_INFO_V1 ( gbt_time_picksplit  )

◆ PG_FUNCTION_INFO_V1() [7/13]

PG_FUNCTION_INFO_V1 ( gbt_time_same  )

◆ PG_FUNCTION_INFO_V1() [8/13]

PG_FUNCTION_INFO_V1 ( gbt_time_sortsupport  )

◆ PG_FUNCTION_INFO_V1() [9/13]

PG_FUNCTION_INFO_V1 ( gbt_time_union  )

◆ PG_FUNCTION_INFO_V1() [10/13]

PG_FUNCTION_INFO_V1 ( gbt_timetz_compress  )

◆ PG_FUNCTION_INFO_V1() [11/13]

PG_FUNCTION_INFO_V1 ( gbt_timetz_consistent  )

◆ PG_FUNCTION_INFO_V1() [12/13]

PG_FUNCTION_INFO_V1 ( gbt_timetz_sortsupport  )

◆ PG_FUNCTION_INFO_V1() [13/13]

PG_FUNCTION_INFO_V1 ( time_dist  )

◆ time_dist()

Datum time_dist ( PG_FUNCTION_ARGS  )

Definition at line 135 of file btree_time.c.

136{
139 PG_GETARG_DATUM(1));
140
142}
Interval * abs_interval(Interval *a)
#define PG_GETARG_DATUM(n)
Definition: fmgr.h:268
uint64_t Datum
Definition: postgres.h:70
#define PG_RETURN_INTERVAL_P(x)
Definition: timestamp.h:69

References abs_interval(), DatumGetIntervalP(), DirectFunctionCall2, PG_GETARG_DATUM, PG_RETURN_INTERVAL_P, and time_mi_time().

Variable Documentation

◆ tinfo

const gbtree_ninfo tinfo
static
Initial value:
=
{
sizeof(TimeADT),
16,
}
@ gbt_t_time
Definition: btree_gist.h:26
static bool gbt_timeeq(const void *a, const void *b, FmgrInfo *flinfo)
Definition: btree_time.c:58
static bool gbt_timele(const void *a, const void *b, FmgrInfo *flinfo)
Definition: btree_time.c:69
static bool gbt_timelt(const void *a, const void *b, FmgrInfo *flinfo)
Definition: btree_time.c:80
static bool gbt_timegt(const void *a, const void *b, FmgrInfo *flinfo)
Definition: btree_time.c:36
static bool gbt_timege(const void *a, const void *b, FmgrInfo *flinfo)
Definition: btree_time.c:47
static int gbt_timekey_cmp(const void *a, const void *b, FmgrInfo *flinfo)
Definition: btree_time.c:91
static float8 gbt_time_dist(const void *a, const void *b, FmgrInfo *flinfo)
Definition: btree_time.c:105

Definition at line 118 of file btree_time.c.

Referenced by gbt_time_compress(), gbt_time_consistent(), gbt_time_distance(), gbt_time_fetch(), gbt_time_picksplit(), gbt_time_same(), gbt_time_union(), and gbt_timetz_consistent().