Re: isolation tester limitation in case of multiple injection points in a single command

Mihail Nikalayeu <mihailnikalayeu@gmail.com>

From: Mihail Nikalayeu <mihailnikalayeu@gmail.com>
To: Michael Paquier <michael@paquier.xyz>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-11-09T22:51:51Z
Lists: pgsql-hackers
Hello!

нд, 9 ліс 2025, 23:34 карыстальнік Michael Paquier <michael@paquier.xyz>
напісаў:

> 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.
>

Yes, possible. But the idea is to avoid weird two INJECTION_POINT in a
row...

Hm, random idea - make INJECTION_POINT to actually define few injection
points: pre-x, x, post-x.

Best regards,
Mikhail.

>

Commits

  1. Improve test case stability

  2. injection_points: Add injection_points_list()

  3. Add InjectionPointList() to retrieve list of injection points