PostgreSQL Range Functions
This page organizes the functions that PostgreSQL provides for range types.
-
isempty()
The PostgreSQLisempty()function checks if a given range or multirange value is empty. -
lower_inc()
The PostgreSQLlower_inc()function checks if the lower bound of a given range or multirange is inclusive. -
lower_inf()
The PostgreSQLlower_inf()function checks whether the lower bound of a given range or multirange is infinite. -
lower()
The PostgreSQLlower(range)function returns the lower bound of a given range or multirange. -
multirange()
The PostgreSQLmultirange()function returns a multirange containing just the given range. -
range_merge()
The PostgreSQLrange_merge()function computes the smallest range that includes all specified ranges or the entire multirange. -
unnest()
The PostgreSQLunnest(anymultirange)function expands a multirange into a set of range values. -
upper_inc()
The PostgreSQLupper_inc()function checks whether the upper bound of a given range is inclusive. -
upper_inf()
The PostgreSQLupper_inf()function checks whether the upper bound of a given range is infinite. -
upper()
The PostgreSQLupper(range)function returns the upper bound of a given range or multirange.