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

Started by Erik Rijkers18 days ago2 messageshackers
Jump to latest
#1Erik Rijkers
er@xs4all.nl

Op 7/7/26 om 21:40 schreef Heikki Linnakangas:

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.bapat.oss@gmail.com>
Discussion: /messages/by-id/CAExHW5sHs+eSiTDOd14buayc6JbBX=Hm5ssFMBK0Ki9sTGEOuA@mail.gmail.com
Backpatch-through: 19

Branch
------
REL_19_STABLE

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

Modified Files
--------------
doc/src/sgml/xfunc.sgml | 4 ++--

Hi,

in doc/src/sgml/xfunc.sgml

the sentence:
"two backends trying to initializing the memory area"

should be:
"two backends trying to initialize the memory area"

Thanks,

Erik

Show quoted text

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

#2Heikki Linnakangas
heikki.linnakangas@enterprisedb.com
In reply to: Erik Rijkers (#1)

On 08/07/2026 05:26, Erik Rijkers wrote:

in doc/src/sgml/xfunc.sgml

the sentence:
  "two backends trying to initializing the memory area"

should be:
  "two backends trying to initialize the memory area"

Fixed, thanks!

- Heikki