wr
hn
Top
New
Best
Ask
Show
Jobs
Back
f
ftdyuio9p0iugy
Joined 4 years ago
Karma
5
Submissions
1
Member since
Jul 27
View on Hacker News
Recent submissions
Comment · 4 years ago
I've had some append-only tables in Postgres and only recently realised that Postgres' system columns (
https://www.postgresql.org/docs/14/ddl-system-columns.html
) already effectively enabled some Datomic-like structure for such append-only tables! Specifically the xmin column allows me to identify the rows to treat atomically as a unit, and to ignore if I'm querying for a historical view.