doc: Correct pg_shmem_allocations_numa.size data type
authorTomas Vondra <[email protected]>
Tue, 8 Apr 2025 09:45:01 +0000 (11:45 +0200)
committerTomas Vondra <[email protected]>
Tue, 8 Apr 2025 10:36:36 +0000 (12:36 +0200)
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 <[email protected]>
Discussion: https://postgr.es/m/DM4PR84MB1734308EB741A6ECFF040C27EEAA2@DM4PR84MB1734.NAMPRD84.PROD.OUTLOOK.COM

doc/src/sgml/system-views.sgml

index 0eba37268bf5a035cc02412e5d893a5771e273c8..737e7489b78d8f7e1cb4ce0c839439295617bccf 100644 (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