Comment possible shared memory re-attach failure - Mailing list pgsql-hackers

From Ivan Kovmir
Subject Comment possible shared memory re-attach failure
Date
Msg-id CA+NMkJy8ngre5qO5zB+WzQVfmYijKiHB4-mgzH2Zmhtnt7bKtg@mail.gmail.com
Whole thread Raw
List pgsql-hackers
EXEC_BACKEND on Linux leads to failures when processes try to attach
to shared memory if kernel.randomize_va_space != 0. There is a comment
in the source code explaining this, but it is far from where the error
occurs.

This patch introduces a comment navigating the programmer to the explanation.

Attachment

pgsql-hackers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: pg_getaddrinfo_all() with hintp=NULL
Next
From: "Jonathan S. Katz"
Date:
Subject: Re: 2025-11-13 release announcement draft