How to stop /resume recovery in standy(replication)
-- To stop/pause recovery on replication server(standby)
postgresql configurationintermediate
by PostgreSQL
16 views
-- To stop/pause recovery on replication server(standby)
123456789101112131415161718192021222324
-- To stop/pause recovery on replication server(standby)
postgres=#
select pg_wal_replay_pause();
pg_wal_replay_pause
---------------------
(1 row)
postgres=#
select pg_is_wal_replay_paused();
pg_is_wal_replay_paused
-------------------------
t
(1 row)
-- To Resume recovery on replication server(standby)
postgres=#
select pg_wal_replay_resume();
pg_wal_replay_resume
----------------------
(1 row)
postgres=#
select pg_is_wal_replay_paused();
pg_is_wal_replay_paused
-------------------------
f
(1 row)Please to add comments
No comments yet. Be the first to comment!