pgsql: Add TAP test for pg_receivewal with timeline switch

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add TAP test for pg_receivewal with timeline switch
Date: 2021-11-01 04:19:08
Message-ID: E1mhOmq-0004YY-V4@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add TAP test for pg_receivewal with timeline switch

pg_receivewal is able to follow a timeline switch, but this was not
tested. This test uses an empty archive location with a restart done
from a slot, making its implementation a tad simpler than if we would
reuse an existing archive directory.

Author: Ronan Dunklau
Reviewed-by: Kyotaro Horiguchi, Michael Paquier
Discussion: https://postgr.es/m/18708360.4lzOvYHigE@aivenronan

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0f9b9938a0367313fcf6a32fcb7fb5be9e281198

Modified Files
--------------
src/bin/pg_basebackup/t/020_pg_receivewal.pl | 62 +++++++++++++++++++++++++++-
1 file changed, 61 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2021-11-01 16:08:56 pgsql: Handle XLOG_OVERWRITE_CONTRECORD in DecodeXLogOp
Previous Message Michael Paquier 2021-11-01 02:41:26 pgsql: Preserve opclass parameters across REINDEX CONCURRENTLY