Re: isolation tester limitation in case of multiple injection points in a single command - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: isolation tester limitation in case of multiple injection points in a single command
Date
Msg-id aREW7Qo0GqjfiHn7@paquier.xyz
Whole thread Raw
In response to Re: isolation tester limitation in case of multiple injection points in a single command  (Mihail Nikalayeu <mihailnikalayeu@gmail.com>)
Responses Re: isolation tester limitation in case of multiple injection points in a single command
List pgsql-hackers
On Sun, Nov 09, 2025 at 01:53:00PM +0100, Mihail Nikalayeu wrote:
> What if we extend that limitation to allow registration of different
> types for the same injection point? Like 'wait' and 'notice' (tol be
> executed in order they registered).
> It feels like a pretty simple solution and covers my needs.

It is already possible to achieve that, isn't it?  One can define
side-by-side twice INJECTION_POINT(), then assign a different callback
to each with a strict control of the execution order.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: Don't synchronously wait for already-in-progress IO in read stream
Next
From: Mihail Nikalayeu
Date:
Subject: Re: isolation tester limitation in case of multiple injection points in a single command