Skip to content

Simple, easily customised trigger-based auditing for PostgreSQL (Postgres). See also pgaudit.

License

Notifications You must be signed in to change notification settings

AccentDesign/postgres-audit-trigger

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple, customisable table audit system for PostgreSQL implemented using triggers.

See:

http://wiki.postgresql.org/wiki/Audit_trigger_91plus

Run the following to get a list of tables to enable the logging on:

SELECT 'SELECT audit.audit_table(''' || table_name || ''');'
FROM information_schema.tables
WHERE table_schema = 'public'
ORDER BY table_name;

About

Simple, easily customised trigger-based auditing for PostgreSQL (Postgres). See also pgaudit.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PLpgSQL 100.0%