PostgreSQL extension enabling time-travel queries and temporal table support
Temporal Tables PostgreSQL Extension
psql$ psql -d mydb -c 'CREATE EXTENSION IF NOT EXISTS temporal_tables;'$ psql -d mydb -c 'CREATE TABLE employees (id INT, name TEXT, salary NUMERIC) INHERITS (temporal_tables);'$ psql -d mydb -c 'SELECT * FROM employees FOR SYSTEM_TIME AS OF timestamp;'