Re: Log size in bytes of query result

2019-05-22 Thread Franklin Haut
ack old patch: > https://www.postgresql.org/message-id/flat/CAHhq2wJXRqTMJXZwMAOdtQOkxSKxg_aMxxofhvCo%3DRGXvh0AUg%40mail.gmail.com > > regards, Sergei > -- Atenciosamente, Franklin Haut

Log size in bytes of query result

2019-05-10 Thread Franklin Haut
Hello 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? Example: a) select now (); - few bytes transferred b) select * from large_table; - 20,000,000 bytes transferred I understand tha