Re: Log size in bytes of query result

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Franklin Haut <franklin(dot)haut(at)gmail(dot)com>, pgsql-performance(at)lists(dot)postgresql(dot)org
Subject: Re: Log size in bytes of query result
Date: 2019-05-10 16:09:41
Message-ID: 94cfe8317fdb054cc90fec529104666260c190af.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Franklin Haut wrote:
> How can we generate in the log of executed querys (directory pg_log)
> the amount of bytes transferred between the server and the client
> of the result of a query?

As far as I know, there is no parameter to do that.

You'd have to write an extension that hooks into PostgreSQL, but I
have no idea how hard that would be.

Yours,
Laurenz Albe

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Sergei Kornilov 2019-05-10 16:42:18 Re: Log size in bytes of query result
Previous Message Franklin Haut 2019-05-10 14:10:48 Log size in bytes of query result