]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Add TAP test for pg_receivewal with timeline switch
authorMichael Paquier <michael@paquier.xyz>
Mon, 1 Nov 2021 04:16:04 +0000 (13:16 +0900)
committerMichael Paquier <michael@paquier.xyz>
Mon, 1 Nov 2021 04:16:04 +0000 (13:16 +0900)
commit0f9b9938a0367313fcf6a32fcb7fb5be9e281198
tree663c038145f04aa7719fb86f4fe234e502574c5e
parentadd5cf28d48149459466b9aff374d78aebf17482
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
src/bin/pg_basebackup/t/020_pg_receivewal.pl