Re: Prevent an error on attaching/creating a DSM/DSA from an interrupt handler.

From: Rahila Syed <rahilasyed90(at)gmail(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Cc: Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com>, Tomas Vondra <tomas(at)vondra(dot)me>, Daniel Gustafsson <daniel(at)yesql(dot)se>
Subject: Re: Prevent an error on attaching/creating a DSM/DSA from an interrupt handler.
Date: 2025-03-24 19:31:36
Message-ID: CAH2L28u+HsnAaMt_aU5Tc=owf3og1agz7WSmuCKSfd0tm5xpWQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

Please find the attached updated and rebased patch.
I have added a test in the test_dsa module that uses a function
to create a dsa area. This function is called after
the resowner->releasing is set to true, using an injection point.

Thank you,
Rahila Syed

Attachment Content-Type Size
v2-0001-Prevent-the-error-on-creating-a-dsm-segment-from-an-.patch application/octet-stream 8.2 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Nikolay Shaplov 2025-03-24 19:35:41 Re: vacuum_truncate configuration parameter and isset_offset
Previous Message Sami Imseih 2025-03-24 19:31:17 Re: Proposal - Allow extensions to set a Plan Identifier