Re: Auditing in Postgres - Mailing list pgsql-admin

From Tejaswi K T
Subject Re: Auditing in Postgres
Date
Msg-id CAFxeN6RDFiTEnVBzS6gthtJ0SwKTwgp0WHJ53ve2ecEFCMM5KQ@mail.gmail.com
Whole thread Raw
In response to Re: Auditing in Postgres  (Scott Ribe <scott_ribe@elevated-dev.com>)
Responses Re: Auditing in Postgres
List pgsql-admin

👍

Tejaswi K T reacted via Gmail


On Tue, Apr 9, 2024 at 2:15 PM Scott Ribe <scott_ribe@elevated-dev.com> wrote:
> Do we have similar commands in pgaudit , which captures only failed DML and not the successful ones.

Not in pgaudit. Just in the standard PG config, in the logging section, you can choose if/how errors are logged. Not at the granularity of your example, but you can log all errors, then in your monitoring filter and classify them.

pgsql-admin by date:

Previous
From: Scott Ribe
Date:
Subject: Re: Auditing in Postgres
Next
From: Scott Ribe
Date:
Subject: setting up standby, need certificate purpose