Add TAP test for pg_receivewal with timeline switch

Michael Paquier <michael@paquier.xyz>

Commit: 0f9b9938a0367313fcf6a32fcb7fb5be9e281198
Author: Michael Paquier <michael@paquier.xyz>
Date: 2021-11-01T04:16:04Z
Releases: 15.0
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

Files

PathChange+/−
src/bin/pg_basebackup/t/020_pg_receivewal.pl modified +61 −1

Discussion