Re: Fix incorrect comment in pg_get_shmem_allocations_numa()

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>, Tomas Vondra <tomas@vondra.me>
Date: 2025-10-21T07:14:39Z
Lists: pgsql-hackers
On Mon, Jul 21, 2025 at 09:06:22AM +0000, Bertrand Drouvot wrote:
> One comment in pg_get_shmem_allocations_numa() incorrectly describes the function
> as dealing with database blocks when it actually processes shared memory allocations
> from the shmem index.

(Noticed this one while browsing the CF app.)

Yep, agreed that the comment deserves a better explanation, so applied
down to v18.
--
Michael

Commits

  1. Fix comment in pg_get_shmem_allocations_numa()