Re: Prevent an error on attaching/creating a DSM/DSA from an interrupt handler. - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: Prevent an error on attaching/creating a DSM/DSA from an interrupt handler.
Date
Msg-id E567A558-446D-4B65-8FF5-82939265EF27@yesql.se
Whole thread Raw
In response to Re: Prevent an error on attaching/creating a DSM/DSA from an interrupt handler.  (Rahila Syed <rahilasyed90@gmail.com>)
List pgsql-hackers
> On 20 May 2025, at 11:56, Daniel Gustafsson <daniel@yesql.se> wrote:
>
>> On 20 May 2025, at 04:29, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
>> I want to argue for reverting, at least for v18.  I do not think that
>> ProcessGetMemoryContextInterrupt is anywhere near release-quality.
>> I found out while poking into Valgrind leak reports that it leaks
>> memory --- and does so in TopMemoryContext.
>
> Ugh, that's indeed a showstopper.  Attached is a revert of the feature, I want
> to re-read and re-test before pushing to make sure I didn't miss anything but
> can go ahead with it later today.

This has now been done.

--
Daniel Gustafsson




pgsql-hackers by date:

Previous
From: Maxim Orlov
Date:
Subject: Re: Add 64-bit XIDs into PostgreSQL 15
Next
From: Fujii Masao
Date:
Subject: Re: Addition of %b/backend_type in log_line_prefix of TAP test logs