diff options
author | Daniel Gustafsson <dgustafsson@postgresql.org> | 2023-10-24 22:18:19 +0200 |
---|---|---|
committer | Daniel Gustafsson <dgustafsson@postgresql.org> | 2023-10-24 22:18:19 +0200 |
commit | d8fd08efbc660788f9e735f9dda824c64bc9bd6b (patch) | |
tree | 662fec567c235b325a5f8fc5e712e6db2cbe06ad | |
parent | 66d6086cbcbfc8dee789a69bf56d967bf9607902 (diff) | |
download | postgresql-d8fd08efbc660788f9e735f9dda824c64bc9bd6b.tar.gz postgresql-d8fd08efbc660788f9e735f9dda824c64bc9bd6b.zip |
Reword memory terminology for PQresultMemorySize
Rather than using the generic word "space" we might as well use "memory"
since that's precisely what we're dealing with here.
This was extracted from a larger patch around terminology changes where
the remaining hunks were rejected.
Author: Gurjeet Singh <gurjeet@singh.im>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/CABwTF4UHO_NtcsOL6_XZfnpKg_0XBFKa7B-7_x5zs3MRZm3-Tg@mail.gmail.com
-rw-r--r-- | doc/src/sgml/libpq.sgml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml index a52baa27d56..64b2910feef 100644 --- a/doc/src/sgml/libpq.sgml +++ b/doc/src/sgml/libpq.sgml @@ -7323,7 +7323,7 @@ size_t PQresultMemorySize(const PGresult *res); <para> This value is the sum of all <function>malloc</function> requests associated with the <structname>PGresult</structname> object, that is, - all the space that will be freed by <xref linkend="libpq-PQclear"/>. + all the memory that will be freed by <xref linkend="libpq-PQclear"/>. This information can be useful for managing memory consumption. </para> </listitem> |