For a moment I thought Postgres had a mechanism to simplify doing this.
I see this same "shadow table"+trigger pattern with other databases too.
I see this same "shadow table"+trigger pattern with other databases too.
Surely the amount of DDL statements would be trivial compared to the DML ones?
[0] https://en.wikipedia.org/wiki/SQL:2011
[1] https://docs.microsoft.com/en-us/sql/relational-databases/ta...