A simple, customisable table audit system for PostgreSQL11 implemented using triggers w/ JSONB and partitioning support.
See:
http://wiki.postgresql.org/wiki/Audit_trigger_91plus
This fork supports JSONB and usage of partitioned tables.
Test on PG11.