Looking Forward to Postgres 19: It's About Time
- Databases
- Open Source
- Infrastructure
- Developer Tools
The post argues that Postgres 19 is finally bringing first-class temporal features that other databases have had in some form for years. The big additions are application-time periods, `WITHOUT OVERLAPS` constraints, `FOR PORTION OF` updates and deletes, and period-aware foreign keys. In plain terms, this lets a table say when a row is valid, prevents time ranges from colliding when they should not, and lets related rows stay valid only inside the parent row's active period. Today, teams usually fake this with date columns, range types, GiST indexes, exclusion constraints, triggers, and stored procedures.
If you model data that changes over time and must answer "what was true then" or "what did we believe then," start planning around Postgres 19 instead of more custom history-table plumbing. The practical win is not just cleaner SQL, but safer integrity checks across parent-child records that have been hard to enforce correctly by hand.
- pgedge.com
- Discuss on HN