Fix documentation for shmem_startup_hook.
authorNathan Bossart <nathan@postgresql.org>
Tue, 9 Sep 2025 19:35:30 +0000 (14:35 -0500)
committerNathan Bossart <nathan@postgresql.org>
Tue, 9 Sep 2025 19:35:30 +0000 (14:35 -0500)
commitd96c854dfc634212193007ca58f8978bc272d457
treecb49dc0daffe12d3e67d9c067fd722eb5949ff9e
parent530cfa8eb50ca5a2151dfc50a6a5999ec8aff148
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@gmail.com>
Reviewed-by: Sami Imseih <samimseih@gmail.com>
Discussion: https://postgr.es/m/CAA5RZ0vEGT1eigGbVt604LkXP6mUPMwPMxQoRCbFny44w%2B9EUQ%40mail.gmail.com
Backpatch-through: 17
doc/src/sgml/xfunc.sgml