Open harada-toshi opened 7 years ago
Yeah, actually object_name
and object_type
are used only when pgaudit processes LOG_READ and LOG_WRITE class statements.
Because there is problem about this; in current design, log_select_dml
identifies the target relation name. So when processing DDL or MISC command pgaudit cannot identify the relation name. In order to do that, we need to use the parsed tree and get the relation name out.
I see.
I think that this behavior should be explained in Readme.md.
Overview
Config file
Executed SQL
Log.