A simple, customisable table audit system for PostgreSQL implemented using triggers.
See:
http://wiki.postgresql.org/wiki/Audit_trigger_91plus
This fork supports JSONB, daily tables, and real-time updates using NOTIFY/LISTEN. It is suitable for production use.