Fix incorrect comment in pg_get_shmem_allocations_numa()

From: Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Cc: Tomas Vondra <tomas(at)vondra(dot)me>
Subject: Fix incorrect comment in pg_get_shmem_allocations_numa()
Date: 2025-07-21 09:06:22
Message-ID: aH4DDhdiG9Gi0rG7@ip-10-97-1-34.eu-west-3.compute.internal
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Attachment Content-Type Size
v1-0001-Fix-comment-in-pg_get_shmem_allocations_numa.patch text/x-diff 1.7 KB

Browse pgsql-hackers by date

  From Date Subject
Next Message vignesh C 2025-07-21 09:06:32 Re: Logical Replication of sequences
Previous Message jian he 2025-07-21 08:57:41 Re: sql/json query function JsonBehavior default expression's collation may differ from returning type's collation