Subject: pgsql: Cleanup comments/docs around the new shmem request callbacks

From: Heikki Linnakangas <[email-masked]>
Date: Tue, 07 Jul 2026 19:40:07 +0000

Cleanup comments/docs around the new shmem request callbacks

Make it explicit in the docs that the shmem initialization callbacks
are called while holding ShmemIndexLock.

Reviewed-by: Ashutosh Bapat <[email-masked]>
Discussion: https://www.postgresql.org/message-id/CAExHW5sHs+eSiTDOd14buayc6JbBX=[email-masked]
Backpatch-through: 19

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6f7199a1245cab986a13c7b57812255fe77679d1

Modified Files
--------------
doc/src/sgml/xfunc.sgml         | 4 ++--
src/backend/storage/ipc/shmem.c | 7 +++++--
2 files changed, 7 insertions(+), 4 deletions(-)