diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2018-09-11 18:45:02 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2018-09-11 18:45:12 -0400 |
commit | 2970afa6cf1057107c998bf3cdd1fbf6dc78cf6c (patch) | |
tree | 278f0ae05b7fb72fdde9422f16a231373014da99 /src/backend/utils/adt/regexp.c | |
parent | e7a2217978d9cbb2149bfcb4ef1e45716cfcbefb (diff) | |
download | postgresql-2970afa6cf1057107c998bf3cdd1fbf6dc78cf6c.tar.gz postgresql-2970afa6cf1057107c998bf3cdd1fbf6dc78cf6c.zip |
Add PQresultMemorySize function to report allocated size of a PGresult.
This number can be useful for application memory management, and the
overhead to track it seems pretty trivial.
Lars Kanis, reviewed by Pavel Stehule, some mods by me
Discussion: https://postgr.es/m/fa16a288-9685-14f2-97c8-b8ac84365a4f@greiz-reinsdorf.de
Diffstat (limited to 'src/backend/utils/adt/regexp.c')
0 files changed, 0 insertions, 0 deletions