Re: pgsql: Move named LWLock tranche requests to shared memory. - Mailing list pgsql-committers

From Nathan Bossart
Subject Re: pgsql: Move named LWLock tranche requests to shared memory.
Date
Msg-id aMo0uqvCDEYmYMQD@nathan
Whole thread Raw
In response to Re: pgsql: Move named LWLock tranche requests to shared memory.  (Nathan Bossart <nathandbossart@gmail.com>)
Responses Re: pgsql: Move named LWLock tranche requests to shared memory.
List pgsql-committers
On Tue, Sep 16, 2025 at 10:27:34PM -0500, Nathan Bossart wrote:
> It looks like the postmaster is trying to access the request array after
> re-initializing shared memory, which of course fails.  So, we need to keep
> the request array in postmaster's local memory, too.  Attached is a quick
> attempt at a fix.

I was able to simplify the patch.

-- 
nathan

Attachment

pgsql-committers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: pgsql: Move named LWLock tranche requests to shared memory.
Next
From: Michael Paquier
Date:
Subject: Re: pgsql: Move named LWLock tranche requests to shared memory.