public inbox for [email protected]  
help / color / mirror / Atom feed
From: Ron Johnson <[email protected]>
To: pgsql-generallists.postgresql.org <[email protected]>
Subject: Re: PostgreSQL Log Info
Date: Fri, 22 Nov 2024 04:07:44 -0500
Message-ID: <CANzqJaBHN3wt2pdwqLEhaaJ4CgQVg7+_5Vwjk2DNP89OQSh+AQ@mail.gmail.com> (raw)
In-Reply-To: <CAKeSjMgH1td7Vuz=h_Knf_bP7uBxjFRCHtuMi1Z2+phd3F7kRg@mail.gmail.com>
References: <CAKeSjMiBZuMX+R3mTmxj-5DUqKN9disMALRnTPv-5B3+CUn6Hg@mail.gmail.com>
	<CAKFQuwYNhgArOxhAXwbf3cY=jmJnKYo8c1R66NLFtAvpmKktCA@mail.gmail.com>
	<CAKeSjMgH1td7Vuz=h_Knf_bP7uBxjFRCHtuMi1Z2+phd3F7kRg@mail.gmail.com>

Isn't "I need the query returned values" the purpose of the client
application?

On Fri, Nov 22, 2024 at 2:32 AM Jethish Jethish <[email protected]>
wrote:

> Hi David,
>
> If an select query is fired I need the query returned values needs to be
> logged in my PostgreSQL log file.
>
>
> For example if a select query returns 5 rows I need the same in the log
> file
>
> On Fri, Nov 22, 2024, 10:49 AM David G. Johnston <
> [email protected]> wrote:
>
>> On Thursday, November 21, 2024, Jethish Jethish <[email protected]>
>> wrote:
>>>
>>> Is it possible to log the rows returned by a query in the PostgreSQL
>>> logs?
>>>
>>
>> As a practical matter, no.  That said, given one can get row contents
>> into the server log in various ways, what is the use case for why this
>> capability is thought to be needed?
>>
>> David J.
>>
>

-- 
Death to <Redacted>, and butter sauce.
Don't boil me, I'm still alive.
<Redacted> lobster!


view thread (9+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: PostgreSQL Log Info
  In-Reply-To: <CANzqJaBHN3wt2pdwqLEhaaJ4CgQVg7+_5Vwjk2DNP89OQSh+AQ@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox