range

Range adjacency

Tests whether two ranges touch without overlapping.

Formal Syntax & Structure

sql syntaxsql
range1 -|- range2

Working Example

Example Snippetsql
SELECT int4range(1,5) -|- int4range(5,8);
SQL Reference