Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 75ca8c1

Browse files
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
1 parent bb9237a commit 75ca8c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/src/sgml/system-views.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3485,7 +3485,7 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx
34853485
<structfield>size</structfield> <type>int8</type>
34863486
</para>
34873487
<para>
3488-
Size of the allocation
3488+
Size of the allocation in bytes
34893489
</para></entry>
34903490
</row>
34913491

@@ -3494,7 +3494,7 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx
34943494
<structfield>allocated_size</structfield> <type>int8</type>
34953495
</para>
34963496
<para>
3497-
Size of the allocation including padding. For anonymous
3497+
Size of the allocation in bytes including padding. For anonymous
34983498
allocations, no information about padding is available, so the
34993499
<literal>size</literal> and <literal>allocated_size</literal> columns
35003500
will always be equal. Padding is not meaningful for free memory, so

0 commit comments

Comments
 (0)