1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-27 07:42:10 +03:00

SP-GiST support of the range adjacent operator -|-

Alexander Korotkov, reviewed by Jeff Davis.
This commit is contained in:
Heikki Linnakangas
2013-03-08 15:03:19 +02:00
parent 2443a26b9b
commit 23f10b6473
5 changed files with 204 additions and 58 deletions

View File

@@ -201,6 +201,8 @@ extern int range_cmp_bounds(TypeCacheEntry *typcache, RangeBound *b1,
RangeBound *b2);
extern int range_cmp_bound_values(TypeCacheEntry *typcache, RangeBound *b1,
RangeBound *b2);
extern bool bounds_adjacent(TypeCacheEntry *typcache, RangeBound bound1,
RangeBound bound2);
extern RangeType *make_empty_range(TypeCacheEntry *typcache);
/* GiST support (in rangetypes_gist.c) */