Live data from Hacker News

Temporal Tables PostgreSQL Extension

github.com

11–20 of 28 posts

Re: Temporal Tables PostgreSQL Extension

#11
We're building something that partially overlaps with this at Splitgraph [0] (co-founder here). Instead of bitemporal tables, we're using columnar storage (cstore_fdw) + delta compression as a storage backend and support Git-like operations (commit, checkout, etc...). We also let you build datasets with a Dockerfile-like language as well as share them with other Splitgraph peers or the public Splitgraph catalog.

[0] https://www.splitgraph.com/docs/getting-started/introduction

Re: Temporal Tables PostgreSQL Extension

#15

We're building something that partially overlaps with this at Splitgraph [0] (co-founder here). Instead of bitemporal tables, we're using columnar storage (cstore_fdw) + delta compression as a storage backend and support Git-like operations (commit, checkout, etc...). We also let you build datasets with a Dockerfile-like language as well as share them with other Splitgraph peers or the public Splitgraph catalog. [0]…

edit: wrong thread.

Re: Temporal Tables PostgreSQL Extension

#17

We're building something that partially overlaps with this at Splitgraph [0] (co-founder here). Instead of bitemporal tables, we're using columnar storage (cstore_fdw) + delta compression as a storage backend and support Git-like operations (commit, checkout, etc...). We also let you build datasets with a Dockerfile-like language as well as share them with other Splitgraph peers or the public Splitgraph catalog. [0]…

Very nice work, thanks for sharing!

And a slightly off-topic observation: excellent choice of parsimonious as a grammar parser :)

Re: Temporal Tables PostgreSQL Extension

#18
post #6
post #5

What problem does this solve?

(Disclaimer: I'm coming from MariaDBs temporal table feature but this is basically the same in PostgreSQL) Temporal tables adding an additional "time axis" to SQL databases. A "valid from" and "valid to" field is added to each row and the SQL syntax is extended for allowing two new types of queries: 1. Query the data as of a specific point in time. E.g. "show all customers as of April 9th 2021". This not only limits…

> Those validity dates represent a period in the real world.

We have tons of that at work, so this feature would have been nice. Currency exchange rates, dozens of official code lists (including countries!), VAT registration status of companies.

If a user makes a change to a declaration submitted at an earlier date, then the data from the original submission date must be used, so we need to keep all this around.

Alas, not using PostgreSQL.

Post reply on HN