Hacker News new | past | comments | ask | show | jobs | submit login

Oh how I wish for Postgres to introduce system-versioned (bi-temporal) tables.



What's your use case for system-versioned tables? You could use some extensions like Periods that support bi-temporal tables: https://wiki.postgresql.org/wiki/Temporal_Extensions

Or you could use triggers to build one: https://hypirion.com/musings/implementing-system-versioned-t...


any system of record has a requirement to be bitemporal, it just isn't discovered until too late IME. I don't know if there's a system anywhere which conciously decided to not be bitemporal during initial design.


It will hopefully be in PostgreSQL 18.


Is there an active effort to get temporal tables into Postgres at the moment?


It looks like Paul A. Jungwirth and others are trying to get Temporal Tables into Postgres 18.

https://illuminatedcomputing.com/posts/2024/07/temporal-reve...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: