Versioning data in Postgres? Testing a Git like approach
Better idea: just install the Postgres extension that enables ISO SQL Temporal Tables, just like what MSSQL and MariaDB have had for 8 years now: <a href="https://pgxn.org/dist/temporal_tables/" rel="nofollow noreferrer">https://pgxn.org/dist/temporal_tables/</a>