Temporal Data: A Roadmap
summary
Postgres already implements temporal primary keys, unique constraints, and foreign keys (landed in v18) and has a patch for temporal update/delete merged last month (CommitFest patch 5836); PERIODs and system time are under review. Implementations live in the temporal_ops repo (temporal joins, set ops, range_minus_multi) and a new planner hook support_request_inline_in_from lets set-returning temporal-join helpers inline. Patches for range-aware merge joins exist (Jeff Davis 2017, Thomas Manhart) and work focuses on arbitrary user types, FDW support, multi-range algebra, and MD-range extensions.
AI-written summary · about
chapters (17)
- 0:00Introduction and speaker background
- 1:05SQL 2011 temporal features overview
- 3:29Supporting arbitrary types in temporal constraints
- 8:24Temporal update and delete functionality
- 10:33Foreign data wrappers for temporal tables
- 11:57Temporal joins and SQL limitations
- 16:52Planner support for temporal functions
- 21:27Temporal relational algebra challenges
- 25:45Temporal merge command proposal
- 27:12Temporal index optimizations
- 30:01Range merge joins and related work
- 32:09Snapshot queries and missed optimizations
- 34:57Planner rules for temporal operators
- 35:59Multi-dimensional temporal ranges
- 37:01Temporal DDL and schema evolution
- 39:52Future work and collaboration call
- 40:16Q&A on core vs extension debate
