Re: PostgreSQL Log Info

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Jethish Jethish <jethish777(at)gmail(dot)com>, pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: PostgreSQL Log Info
Date: 2024-11-22 16:32:57
Message-ID: 27d9f8b9-f386-4ce9-8f73-5bbd6cda6b0c@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 11/21/24 21:02, Jethish Jethish wrote:
> Hi Everyone,
>
> Is it possible to log the rows returned by a query in the PostgreSQL logs?

https://github.com/pgaudit/pgaudit/blob/main/README.md

"pgaudit.log_rows

Specifies that audit logging should include the number of rows retrieved
or affected by a statement. When enabled the rows field will be included
after the parameter field.

The default is off."

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message David G. Johnston 2024-11-22 16:34:18 Re: PostgreSQL Log Info
Previous Message Jethish Jethish 2024-11-22 16:26:30 Re: PostgreSQL Log Info