There is a setting log_statements which can be set to none (the default), ddl, mod or all
This might help.
Am 20. Dezember 2021 07:34:13 MEZ schrieb Daulat <daulat(dot)dba(at)gmail(dot)com>:
>Hi Team,
>
>I want to log DBA actions in Postgres. Can you please suggest how I can
>achieve it.
>Will pg_audit and log_min_duration_statements help on it?
>
>Thanks,
--
Holger Jakobs, Bergisch Gladbach
+49 178 9759012
- sent from mobile, therefore short -