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

Started by Michael Paquier3 months ago1 messagescommitters
Jump to latest
#1Michael Paquier
michael@paquier.xyz

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@gmail.com>
Discussion: /messages/by-id/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(-)