summaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/exports.txt
diff options
context:
space:
mode:
authorTom Lane2018-09-11 22:45:02 +0000
committerTom Lane2018-09-11 22:45:12 +0000
commit2970afa6cf1057107c998bf3cdd1fbf6dc78cf6c (patch)
tree278f0ae05b7fb72fdde9422f16a231373014da99 /src/interfaces/libpq/exports.txt
parente7a2217978d9cbb2149bfcb4ef1e45716cfcbefb (diff)
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/[email protected]
Diffstat (limited to 'src/interfaces/libpq/exports.txt')
-rw-r--r--src/interfaces/libpq/exports.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/interfaces/libpq/exports.txt b/src/interfaces/libpq/exports.txt
index d6a38d0df85..2f628800d3e 100644
--- a/src/interfaces/libpq/exports.txt
+++ b/src/interfaces/libpq/exports.txt
@@ -172,3 +172,4 @@ PQsslAttribute 169
PQsetErrorContextVisibility 170
PQresultVerboseErrorMessage 171
PQencryptPasswordConn 172
+PQresultMemorySize 173