Configuring pgaudit
In
postgresql.conf
, addpgaudit
to theshared_preload_libraries
parameter:If
shared_preload_libraries
has other extensions, then you can addpgaudit
to the list. The order doesn't matter.
- Restart Postgres.
Create the
pgaudit
extension in your database:
For detailed information on other configuration steps, see the official pgaudit documentation.
Could this page be better? Report a problem or suggest an addition!