diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2015-05-05 15:22:24 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2015-05-05 15:22:24 -0300 |
commit | 3b6db1f445e14bd189ebc99ce1e5535a1c624613 (patch) | |
tree | 0b2f037f21af6ed3ae5334c29491bc9ebe5f8e3f /src/backend/utils/adt/ruleutils.c | |
parent | 456ff0863851d70dce679ca3f631392589e31a33 (diff) | |
download | postgresql-3b6db1f445e14bd189ebc99ce1e5535a1c624613.tar.gz postgresql-3b6db1f445e14bd189ebc99ce1e5535a1c624613.zip |
Add geometry/range functions to support BRIN inclusion
This commit adds the following functions:
box(point) -> box
bound_box(box, box) -> box
inet_same_family(inet, inet) -> bool
inet_merge(inet, inet) -> cidr
range_merge(anyrange, anyrange) -> anyrange
The first of these is also used to implement a new assignment cast from
point to box.
These functions are the first part of a base to implement an "inclusion"
operator class for BRIN, for multidimensional data types.
Author: Emre Hasegeli
Reviewed by: Andreas Karlsson
Diffstat (limited to 'src/backend/utils/adt/ruleutils.c')
0 files changed, 0 insertions, 0 deletions