Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6f0aee1

Browse files
danielgustafssonpull[bot]
authored andcommitted
doc: Add unit to pg_shmem_allocations attributes
The unit of size and allocated_size was not documented. Speciyfing theunit is in line with how many other (but not all) system view attributesare 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.comDiscussion:https://postgr.es/m/166033703458.653.1583077816076994614@wrigleys.postgresql.org
1 parentf0fe87b commit6f0aee1

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 allocationin bytesincluding 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)

[8]ページ先頭

©2009-2025 Movatter.jp