diff options
author | Daniel Gustafsson <dgustafsson@postgresql.org> | 2022-08-15 22:30:00 +0200 |
---|---|---|
committer | Daniel Gustafsson <dgustafsson@postgresql.org> | 2022-08-15 22:30:00 +0200 |
commit | 75ca8c14576238926e1f4c2e80c11dd23a1911c3 (patch) | |
tree | e8df39b166f718d4d5304b7705cc3c26cbc77f62 | |
parent | bb9237a1295a29c4e41b97f9d34e3922ac69c071 (diff) | |
download | postgresql-75ca8c14576238926e1f4c2e80c11dd23a1911c3.tar.gz postgresql-75ca8c14576238926e1f4c2e80c11dd23a1911c3.zip |
doc: Add unit to pg_shmem_allocations attributes
The unit of size and allocated_size was not documented. Speciyfing the
unit is in line with how many other (but not all) system view attributes
are documented so fixing by adding the unit which is "bytes".
Author: Euler Taveira <euler@eulerto.com>
Reviewed-by: Masahiko Sawada <sawada.mshk@gmail.com>
Reported-by: coleman.rik@gmail.com
Discussion: https://postgr.es/m/166033703458.653.1583077816076994614@wrigleys.postgresql.org
-rw-r--r-- | doc/src/sgml/system-views.sgml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/sgml/system-views.sgml b/doc/src/sgml/system-views.sgml index 9728039e71a..44aa70a0316 100644 --- a/doc/src/sgml/system-views.sgml +++ b/doc/src/sgml/system-views.sgml @@ -3485,7 +3485,7 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx <structfield>size</structfield> <type>int8</type> </para> <para> - Size of the allocation + Size of the allocation in bytes </para></entry> </row> @@ -3494,7 +3494,7 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx <structfield>allocated_size</structfield> <type>int8</type> </para> <para> - Size of the allocation including padding. For anonymous + Size of the allocation in bytes including padding. For anonymous allocations, no information about padding is available, so the <literal>size</literal> and <literal>allocated_size</literal> columns will always be equal. Padding is not meaningful for free memory, so |