From: | Daniel Gustafsson <dgustafsson(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Add function to pump IPC process until string match |
Date: | 2022-02-23 13:32:03 |
Message-ID: | E1nMrkR-000Hoa-VF@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Add function to pump IPC process until string match
Refactor the recovery tests to not carry a local duplicated copy of
the pump_until function which pumps a process until a defined string
is seen on a stream. This reduces duplication, and is in preparation
for another patch which will also use this functionality.
Reviewed-by: Michael Paquier <michael(at)paquier(dot)xyz>
Discussion https://postgr.es/m/YgynUafCyIu3jIhC@paquier.xyz
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/6da65a3f9a9deae4fdcc768c612b0c8f52759f75
Modified Files
--------------
src/test/perl/PostgreSQL/Test/Utils.pm | 23 +++++++++++++++
src/test/recovery/t/013_crash_restart.pl | 46 +++++++----------------------
src/test/recovery/t/022_crash_temp_files.pl | 45 +++++-----------------------
3 files changed, 41 insertions(+), 73 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2022-02-23 16:10:53 | pgsql: Re-allow underscore as first character of custom GUC names. |
Previous Message | Daniel Gustafsson | 2022-02-23 10:30:32 | pgsql: Use test functions in pg_rewind test module |