pgsql: Add an injection_points isolation test suite.

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add an injection_points isolation test suite.
Date: 2024-06-28 02:26:54
Message-ID: E1sN1K9-003Iz2-Nt@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add an injection_points isolation test suite.

Make the isolation harness recognize injection_points wait events as a
type of blocked state. Test an extant inplace-update bug.

Reviewed by Robert Haas and Michael Paquier.

Discussion: https://postgr.es/m/20240512232923.aa.nmisch@google.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c35f419d6efbdf1a050250d84b687e6705917711

Modified Files
--------------
src/backend/access/heap/heapam.c | 2 +
src/backend/utils/adt/waitfuncs.c | 21 +++++-
src/test/modules/injection_points/Makefile | 2 +
.../modules/injection_points/expected/inplace.out | 43 +++++++++++
src/test/modules/injection_points/meson.build | 5 ++
.../modules/injection_points/specs/inplace.spec | 83 ++++++++++++++++++++++
6 files changed, 154 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Noah Misch 2024-06-28 02:26:55 pgsql: AccessExclusiveLock new relations just after assigning the OID.
Previous Message Amit Langote 2024-06-28 00:46:29 pgsql: SQL/JSON: Document behavior when input document is not jsonb