Temporal constraints (WITHOUT OVERLAPS)
Application-time PERIODs with WITHOUT OVERLAPS primary/unique keys and temporal (PERIOD) foreign keys.
Versions
- PostgreSQL 20 · worked-on · improved · moderate
- PostgreSQL 19 · worked-on · new · major
- PostgreSQL 18 · shipped · new · major · 18 commits · +7.4k / -810 lines
- PostgreSQL 17 · reverted · new · major · 9 commits · +4.6k / -306 lines
- PostgreSQL 16 · worked-on · new · major
- PostgreSQL 15 · shipped · new · major · 1 commit · +14 / -14 lines
Threads
- BUG #19777: PERIOD foreign key rejects an empty referencing range even though the referenced period covers it
- Fix WITHOUT OVERLAPS multirange with location replication
- [PG19] pg_upgrade transfers temporal keys using gist_inet_ops with the wrong opclass
- addFkRecurseReferencing use unassigned fkconstraint->fk_with_period value
- Fix WITHOUT OVERLAPS PKs used for functional grouping
- Fix UNIQUE WITHOUT OVERLAPS + NULLS NOT DISTINCT + multiranges
- BUG #19753: PERIOD foreign key rejects an empty referencing range although the coverage test returns true
- WITHOUT OVERLAPS foreign key allows referencing EXCLUDE constraint
- Temporal foreign key actions
- Temporal fkey bugs
- [PATCH] Fix temporal foreign key validation of pre-existing rows
- domain for WITHOUT OVERLAPS
- Create unique GiST indexes
- [PATCH] Simplify ExecWithoutOverlapsNotEmpty by removing unused parameter
- BUG #19098: Can't create unique gist index, where pg_indexes says that WITHOUT OVERLAPS does exacly that
- Clarify temporal FK comments
- Foreign key isolation tests
- SQL:2011 application time
- PERIOD foreign key feature
- btree_gist into core?
- Foreign Key constraints on xocolatl/periods
- SQL:2011 PERIODS vs Postgres Ranges?
- Periods
- SQL:2011 Valid-Time Support
- Adding a new table to the system catalog