2ndQuadrant / audit-trigger

Simple, easily customised trigger-based auditing for PostgreSQL (Postgres). See also pgaudit.
Other
657 stars 241 forks source link

Statement only trigger not consistent with ORMs #36

Open ernitishkumar opened 5 years ago

ernitishkumar commented 5 years ago

Statement only trigger not consistent with ORMs !

I would like to highlight that using statement only mode does not produces whole SQL when using with ORMs.

The statement only contains SQL with prepared statement params, The actual value of the placeholder is not getting logged.

tbussmann commented 5 years ago

isn't this actually the same as #37 ? Recording parameter values of prepared statements seems not possible from the SQL interface at present.