doc: Correct pg_shmem_allocations_numa.size data type

The code in pg_get_shmem_allocations_numa() returned 'size' as int64,
but the docs said int32.

Report and fix by Noriyoshi Shinoda.

Reported-by: Noriyoshi Shinoda <noriyoshi.shinoda@hpe.com>
Discussion: https://postgr.es/m/DM4PR84MB1734308EB741A6ECFF040C27EEAA2@DM4PR84MB1734.NAMPRD84.PROD.OUTLOOK.COM
This commit is contained in:
Tomas Vondra 2025-04-08 11:45:01 +02:00
parent 12eece5fd5
commit b8a6078ca8

View File

@ -4128,7 +4128,7 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx
<row>
<entry role="catalog_table_entry"><para role="column_definition">
<structfield>size</structfield> <type>int4</type>
<structfield>size</structfield> <type>int8</type>
</para>
<para>
Size of the allocation on this particular NUMA memory node in bytes