Add details in script output in recovery mode
This commit is contained in:
parent
8b03a8bc21
commit
5f9573612b
1 changed files with 3 additions and 0 deletions
|
@ -424,6 +424,9 @@ then
|
|||
fi
|
||||
|
||||
echo "OK: Hot-standby server is uptodate"
|
||||
echo "Replication state: $M_CUR_SYNC_STATE"
|
||||
echo "Last sent/writed LSN: '$M_CUR_SENT_LSN' / '$M_CUR_WRITED_LSN'"
|
||||
[ "$LAST_RECEIVED_LSN" != "$LAST_REPLAYED_LSN" ] && echo "Replay delay: ${REPLAY_DELAY}s"
|
||||
exit 0
|
||||
else
|
||||
debug "File recovery.conf not found. Master mode."
|
||||
|
|
Loading…
Reference in a new issue