May 2019
Intermediate to advanced
600 pages
20h 46m
English
There are two main ways to log SQL:
The log_statement parameter can be set to one of the following options:
For example, to log all DDL commands, edit your postgresql.conf file to set the following:
log_statement = 'ddl'
The log_statement SQL statements are explicitly given in top-level commands. It is still possible to perform SQL without it being logged by this setting if you use any of the PL languages, either through DO statements or ...
Read now
Unlock full access