Re: Detach shared memory in Postmaster child if not needed

2024-07-29 Thread Heikki Linnakangas
On 29/07/2024 21:10, Robert Haas wrote: On Mon, Jul 29, 2024 at 5:57 AM Rui Zhao wrote: Prior to PG16, postmaster children would manually detach from shared memory if it was not needed. However, this behavior was removed in fork mode in commit aafc05d. Oh. The commit message makes no mention

Re: Detach shared memory in Postmaster child if not needed

2024-07-29 Thread Robert Haas
On Mon, Jul 29, 2024 at 5:57 AM Rui Zhao wrote: > Prior to PG16, postmaster children would manually detach from shared memory > if it was not needed. However, this behavior was removed in fork mode in > commit aafc05d. Oh. The commit message makes no mention of that. I wonder whether it was inadv

Re: Detach shared memory in Postmaster child if not needed

2024-07-29 Thread Aleksander Alekseev
Hi Rui, > Prior to PG16, postmaster children would manually detach from shared memory > if it was not needed. However, this behavior was removed in fork mode in > commit aafc05d. > > Detaching shared memory when it is no longer needed is beneficial, as > postmaster children (like syslogger) don't