summaryrefslogtreecommitdiff
path: root/src/include/utils
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2013-03-08 15:03:19 +0200
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2013-03-08 15:03:19 +0200
commit23f10b6473ed58c3699b81ca4677f4ff51878ec0 (patch)
tree4cff645780029b0e4dfe9961db41408171e246c8 /src/include/utils
parent2443a26b9b905e66cd9b95a2faf57e1f1ebcafb1 (diff)
SP-GiST support of the range adjacent operator -|-
Alexander Korotkov, reviewed by Jeff Davis.
Diffstat (limited to 'src/include/utils')
-rw-r--r--src/include/utils/rangetypes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/utils/rangetypes.h b/src/include/utils/rangetypes.h
index 67b1a7ce611..f6b941d3acc 100644
--- a/src/include/utils/rangetypes.h
+++ b/src/include/utils/rangetypes.h
@@ -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) */