Re: Fix incorrect comment in pg_get_shmem_allocations_numa() - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Fix incorrect comment in pg_get_shmem_allocations_numa()
Date
Msg-id aPcy39HGeEcHJP3Z@paquier.xyz
Whole thread Raw
In response to Fix incorrect comment in pg_get_shmem_allocations_numa()  (Bertrand Drouvot <bertranddrouvot.pg@gmail.com>)
List 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

Attachment

pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Optimizing ResouceOwner to speed up COPY
Next
From: Michael Paquier
Date:
Subject: Re: pgbench: extend variable usage in scripts