pgsql: Fix comment in pg_get_shmem_allocations_numa()

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix comment in pg_get_shmem_allocations_numa()
Date: 2025-10-21 07:12:54
Message-ID: E1vB6YA-002joI-2c@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix comment in pg_get_shmem_allocations_numa()

The comment fixed in this commit described the function as dealing with
database blocks, but in reality it processes shared memory allocations.

Author: Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com>
Discussion: https://postgr.es/m/aH4DDhdiG9Gi0rG7@ip-10-97-1-34.eu-west-3.compute.internal
Backpatch-through: 18

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e4e496e88c9a0940abe1ade44337577b26f032a0

Modified Files
--------------
src/backend/storage/ipc/shmem.c | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message David Rowley 2025-10-21 07:46:38 pgsql: Fix BRIN 32-bit counter wrap issue with huge tables
Previous Message Richard Guo 2025-10-21 05:13:32 pgsql: Fix test case from 40c242830