Attached is an updated patch of PQresultMemsize(). The implementation isunchanged, but I added SGML documentation about this new function.
I'd be pleased about comments to adding this to libpq.
-- Kind Regards,Lars