pg_back
pg_back copied to clipboard
pg_back should check the "pause" state after the request to pause recovery.
From the documentation, when pg_wal_replay_pause() returns, it doesn't mean that recovery stops right away. So I think that pg_back should loop around pg_get_wal_replay_pause_state() until it returns pause.