Reword memory terminology for PQresultMemorySize
authorDaniel Gustafsson <[email protected]>
Tue, 24 Oct 2023 20:18:19 +0000 (22:18 +0200)
committerDaniel Gustafsson <[email protected]>
Tue, 24 Oct 2023 20:18:19 +0000 (22:18 +0200)
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  around terminology changes where
the remaining hunks were rejected.

Author: Gurjeet Singh <[email protected]>
Reviewed-by: Daniel Gustafsson <[email protected]>
Reviewed-by: Tom Lane <[email protected]>
Discussion: https://postgr.es/m/CABwTF4UHO_NtcsOL6_XZfnpKg_0XBFKa7B-7_x5zs3MRZm3-Tg@mail.gmail.com

doc/src/sgml/libpq.sgml

index a52baa27d563796e7676a6ce8a3a2dc7cf28cfc8..64b2910feefdfcb078c21b4ec00006832b8ca8a7 100644 (file)
@@ -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>