audit_table(target_table regclass, audit_rows boolean, audit_query_text boolean, ignored_cols text[])


Description

ADD auditing support TO a TABLE.

Arguments: target_table: TABLE name, schema qualified IF NOT ON search_path audit_rows: Record each row CHANGE, OR only audit at a statement level audit_query_text: Record the text of the client query that triggered the audit event? ignored_cols: COLUMNS TO exclude FROM UPDATE diffs, IGNORE updates that CHANGE only ignored cols.

Parameters

Name Type Mode
target_table regclass IN
audit_rows boolean IN
audit_query_text boolean IN
ignored_cols text[] IN

Definition