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

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Cleanup comments/docs around the new shmem request callbacks
Date: 2026-07-07 19:40:07
Message-ID: E1whBeJ-0002Tc-17@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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 <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com>
Discussion: https://www.postgresql.org/message-id/CAExHW5sHs+eSiTDOd14buayc6JbBX=Hm5ssFMBK0Ki9sTGEOuA@mail.gmail.com
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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Jeff Davis 2026-07-07 20:36:13 pgsql: unicode_case.c: defend against truncated UTF8.
Previous Message Heikki Linnakangas 2026-07-07 18:21:40 pgsql: Fix gistkillitems for GiST root page