Re: Segmentation fault on proc exit after dshash_find_or_insert

amit <amitlangote09@gmail.com>

From: Amit Langote <amitlangote09@gmail.com>
To: Rahila Syed <rahilasyed90@gmail.com>
Cc: Andres Freund <andres@anarazel.de>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2025-12-18T08:20:00Z
Lists: pgsql-hackers

Attachments

On Thu, Dec 18, 2025 at 2:01 PM Rahila Syed <rahilasyed90@gmail.com> wrote:
>
> Hi Amit,
>
>>
>> /*
>>  * Release any LWLocks we might be holding before callbacks run. This
>>  * prevents accessing locks in detached DSM segments and allows callbacks
>>  * to acquire new locks.
>> */
>>
>
> This looks good to me.

Thanks.  Updated the commit message too to be more accurate in the
attached updated patch.

I'll wait a bit more (until next year :)) before committing this so
maybe others can comment on it.

-- 
Thanks, Amit Langote