pgsql: Fix documentation for shmem_startup_hook.

From: Nathan Bossart <nathan(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix documentation for shmem_startup_hook.
Date: 2025-09-09 19:36:57
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix documentation for shmem_startup_hook.

This section claims that each backend executes the
shmem_startup_hook shortly after attaching to shared memory, which
is true for EXEC_BACKEND builds, but not for others. This commit
adds this important detail.

Oversight in commit 964152c476.

Reported-by: Sami Imseih <samimseih(at)gmail(dot)com>
Reviewed-by: Sami Imseih <samimseih(at)gmail(dot)com>
Discussion: https://postgr.es/m/CAA5RZ0vEGT1eigGbVt604LkXP6mUPMwPMxQoRCbFny44w%2B9EUQ%40mail.gmail.com
Backpatch-through: 17

Branch
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/a80b7a0547da0dc1dfff5df96b709a9e0321252b

Modified Files
--------------
doc/src/sgml/xfunc.sgml | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2025-09-09 22:23:55 pgsql: Fix leak with SMgrRelations in startup process
Previous Message Nathan Bossart 2025-09-09 19:10:31 pgsql: test_slru: Fix LWLock tranche allocation in EXEC_BACKEND builds.