September 25, 2025: PostgreSQL 18 Released!

Feature Description

Temporal constraints

Temporal constraints are constraints over ranges. These are available for both PRIMARY KEY and UNIQUE constraints using the WITHOUT OVERLAPS clause, and FOREIGN KEY constraints using the PERIOD clause.