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

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Mihail Nikalayeu <mihailnikalayeu@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-11-10T00:59:33Z
Lists: pgsql-hackers
On Sun, Nov 09, 2025 at 11:51:51PM +0100, Mihail Nikalayeu wrote:
> Yes, possible. But the idea is to avoid weird two INJECTION_POINT in a
> row...

FWIW, I think that it's OK to use as style.  The backend-side
injection point implementation is currently quite simple, meaning that
it less prone to future bugs.  For testing purposes, that's an
important property to rely on, IMO.
--
Michael

Commits

  1. Improve test case stability

  2. injection_points: Add injection_points_list()

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