Hacker News new | ask | show | jobs
by qatanah 1560 days ago
I've been using my own audit trigger for 3 years now.

https://github.com/cmabastar/audit-trigger

It uses the old and tested http://wiki.postgresql.org/wiki/Audit_trigger_91plus

but with JSONB instead of HSTORE, and automatically creates partitioned tables by month (Requires PG11+).