Re: Segmentation fault on proc exit after dshash_find_or_insert - Mailing list pgsql-hackers

From Amit Langote
Subject Re: Segmentation fault on proc exit after dshash_find_or_insert
Date
Msg-id CA+HiwqHzTpLH9q3XHSiXndCgVYi8CvaeOcMgu7ZoYS2XOYqtiA@mail.gmail.com
Whole thread Raw
In response to Re: Segmentation fault on proc exit after dshash_find_or_insert  (Rahila Syed <rahilasyed90@gmail.com>)
List pgsql-hackers
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

Attachment

pgsql-hackers by date:

Previous
From: Chao Li
Date:
Subject: Re: Add sanity check for duplicate enum values in GUC definitions
Next
From: Chao Li
Date:
Subject: Re: pg_dump crash due to incomplete ordering of DO_SUBSCRIPTION_REL objects