forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb023650
committed
Improve the message logged when recovery is paused.
When recovery target is reached and recovery is paused because ofrecovery_target_action=pause, executing pg_wal_replay_resume() causesthe standby to promote, i.e., the recovery to end. So, in this case,the previous message "Execute pg_wal_replay_resume() to continue"logged was confusing because pg_wal_replay_resume() doesn't causethe recovery to continue.This commit improves the message logged when recovery is paused,and the proper message is output based on what (pg_wal_replay_pauseor recovery_target_action) causes recovery to be paused.Author: Sergei Kornilov, revised by Fujii MasaoReviewed-by: Robert HaasDiscussion:https://postgr.es/m/19168211580382043@myt5-b646bde4b8f3.qloud-c.yandex.net1 parent051fd5e commitb023650
1 file changed
+17
-8
lines changedLines changed: 17 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
885 | 885 |
| |
886 | 886 |
| |
887 | 887 |
| |
888 |
| - | |
| 888 | + | |
889 | 889 |
| |
890 | 890 |
| |
891 | 891 |
| |
| |||
5951 | 5951 |
| |
5952 | 5952 |
| |
5953 | 5953 |
| |
| 5954 | + | |
| 5955 | + | |
| 5956 | + | |
| 5957 | + | |
5954 | 5958 |
| |
5955 | 5959 |
| |
5956 | 5960 |
| |
5957 | 5961 |
| |
5958 | 5962 |
| |
5959 |
| - | |
| 5963 | + | |
5960 | 5964 |
| |
5961 | 5965 |
| |
5962 | 5966 |
| |
| |||
5966 | 5970 |
| |
5967 | 5971 |
| |
5968 | 5972 |
| |
5969 |
| - | |
5970 |
| - | |
5971 |
| - | |
| 5973 | + | |
| 5974 | + | |
| 5975 | + | |
| 5976 | + | |
| 5977 | + | |
| 5978 | + | |
| 5979 | + | |
| 5980 | + | |
5972 | 5981 |
| |
5973 | 5982 |
| |
5974 | 5983 |
| |
| |||
7201 | 7210 |
| |
7202 | 7211 |
| |
7203 | 7212 |
| |
7204 |
| - | |
| 7213 | + | |
7205 | 7214 |
| |
7206 | 7215 |
| |
7207 | 7216 |
| |
| |||
7226 | 7235 |
| |
7227 | 7236 |
| |
7228 | 7237 |
| |
7229 |
| - | |
| 7238 | + | |
7230 | 7239 |
| |
7231 | 7240 |
| |
7232 | 7241 |
| |
| |||
7400 | 7409 |
| |
7401 | 7410 |
| |
7402 | 7411 |
| |
7403 |
| - | |
| 7412 | + | |
7404 | 7413 |
| |
7405 | 7414 |
| |
7406 | 7415 |
| |
|
0 commit comments
Comments
(0)