Re: Auditing in Postgres

From: Scott Ribe <scott_ribe(at)elevated-dev(dot)com>
To: Tejaswi K T <tejaswi(dot)kt(at)gmail(dot)com>
Cc: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: Auditing in Postgres
Date: 2024-04-09 12:15:20
Message-ID: D975F27F-5AA8-42D5-A95C-0512AC3CA29E@elevated-dev.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

> 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.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tejaswi K T 2024-04-09 13:03:56 Re: Auditing in Postgres
Previous Message Anjul Sahu 2024-04-09 12:11:33 Re: Auditing in Postgres