Fix incorrect comment in pg_get_shmem_allocations_numa()

Started by Bertrand Drouvot9 months ago2 messageshackers
Jump to latest
#1Bertrand Drouvot
bertranddrouvot.pg@gmail.com

Hi hackers,

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.

PFA, a patch to $SUBJECT.

Regards,

--
Bertrand Drouvot
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com

Attachments:

v1-0001-Fix-comment-in-pg_get_shmem_allocations_numa.patchtext/x-diff; charset=us-asciiDownload+6-10
#2Michael Paquier
michael@paquier.xyz
In reply to: Bertrand Drouvot (#1)
Re: Fix incorrect comment in pg_get_shmem_allocations_numa()

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