pgsql: Add string-based injection point wait in 051_effective_wal_level

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add string-based injection point wait in 051_effective_wal_level
Date: 2026-08-14 06:15:56
Message-ID: E1wulCs-00000000VrD-41EG@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add string-based injection point wait in 051_effective_wal_level.pl

This serves as an in-core example of the condition-string API of
injection_points introduced in 0fd73cdffc18, where a wait at the
beginning of a replication slot creation is tightened to happen only for
a specific slot name.

Author: Sami Imseih <samimseih(at)gmail(dot)com>
Discussion: https://postgr.es/m/CAA5RZ0tsGHu2h6YLnVu4HiK05q+gTE_9WVUAqihW2LSscAYS-g@mail.gmail.com

Branch
------
master

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

Modified Files
--------------
src/backend/replication/slot.c | 2 +-
src/test/recovery/t/051_effective_wal_level.pl | 9 ++++++---
2 files changed, 7 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Etsuro Fujita 2026-08-14 08:50:23 pgsql: postgres_fdw: Rename option "restore_stats" to "import_stats".
Previous Message Michael Paquier 2026-08-14 05:46:35 pgsql: injection_points: Add support for string comparison in condition