Re: Retrieve memory size allocated by libpq

Lars Kanis <lars@greiz-reinsdorf.de>

From: Lars Kanis <lars@greiz-reinsdorf.de>
To: pgsql-hackers@postgresql.org
Cc: Sam Saffron <sam.saffron@gmail.com>
Date: 2018-07-10T13:22:10Z
Lists: pgsql-hackers

Attachments

Attached is an updated patch of PQresultMemsize(). The implementation is
unchanged, but I added SGML documentation about this new function.

I'd be pleased about comments to adding this to libpq.

-- 
Kind Regards,
Lars

Commits

  1. Add PQresultMemorySize function to report allocated size of a PGresult.