2ndQuadrant / audit-trigger

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

fixes #9: use quote_ident for table name in the audit_table func #13

Closed nineinchnick closed 9 years ago

nineinchnick commented 9 years ago

Resolves #9. When using with quoted tables you still need to pass the table name as single quoted string, just containing double quotes:

select audit.audit_table('"Some_Table"');
ringerc commented 9 years ago

Thanks. I usually use format(..) instead, but that does the job.

3nids commented 9 years ago

since it breaks again #1, I'll try to give it a try with format.