• Fujii Masao's avatar
    Add regression test for recovery pause. · 6bbc5c5e
    Fujii Masao authored
    Previously there was no regression test for recovery pause feature.
    This commit adds the test that checks
    
    - recovery can be paused or resumed expectedly
    - pg_get_wal_replay_pause_state() reports the correct pause state
    - the paused state ends and promotion continues if a promotion
       is triggered while recovery is paused
    
    Suggested-by: Michael Paquier
    Author: Fujii Masao
    Reviewed-by: Kyotaro Horiguchi, Dilip Kumar
    Discussion: https://postgr.es/m/YKNirzqM1HYyk5h4@paquier.xyz
    6bbc5c5e
005_replay_delay.pl 4.28 KB