From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Franklin Haut <franklin.haut@gmail.com>
To: pgsql-performance@lists.postgresql.org
Subject: Re: Log size in bytes of query result
Date: Fri, 10 May 2019 18:09:41 +0200
Message-ID: <94cfe8317fdb054cc90fec529104666260c190af.camel@cybertec.at> (raw)
In-Reply-To: <CAN1QLZ+xGmXY=Wh8-N7+rv733Et=Ro0QQJ5huFhi8pSii4BFuA@mail.gmail.com>
References: <CAN1QLZ+xGmXY=Wh8-N7+rv733Et=Ro0QQJ5huFhi8pSii4BFuA@mail.gmail.com>
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
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: pgsql-performance@postgresql.org
Cc: laurenz.albe@cybertec.at, franklin.haut@gmail.com, pgsql-performance@lists.postgresql.org
Subject: Re: Log size in bytes of query result
In-Reply-To: <94cfe8317fdb054cc90fec529104666260c190af.camel@cybertec.at>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox