Implementing System Versioned Temporal Table
summary
Implements SQL:2011 system-versioned temporal table semantics in PostgreSQL by adding period columns, maintaining a separate history table, and wiring query rewrites and storage rules so current and historical rows coexist. Describes the chosen implementation path (triggers vs background process), schema changes, WAL and vacuum interactions, and how AS OF/time-travel queries are planned to run. Includes prototype behavior, compatibility notes with existing features, and measured performance tradeoffs.
AI-written summary · about
