aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistproc.c
diff options
context:
space:
mode:
authorFujii Masao <fujii@postgresql.org>2020-04-01 03:35:13 +0900
committerFujii Masao <fujii@postgresql.org>2020-04-01 03:35:13 +0900
commitb0236508d3589a45e574284cd3303b689111765d (patch)
treead147759fdcd48723d0f679722f934030805f8f9 /src/backend/access/gist/gistproc.c
parent051fd5e0f99b14d7bd76fb800bd077bf394fecd5 (diff)
downloadpostgresql-b0236508d3589a45e574284cd3303b689111765d.tar.gz
postgresql-b0236508d3589a45e574284cd3303b689111765d.zip
Improve the message logged when recovery is paused.
When recovery target is reached and recovery is paused because of recovery_target_action=pause, executing pg_wal_replay_resume() causes the 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 cause the 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_pause or recovery_target_action) causes recovery to be paused. Author: Sergei Kornilov, revised by Fujii Masao Reviewed-by: Robert Haas Discussion: https://postgr.es/m/19168211580382043@myt5-b646bde4b8f3.qloud-c.yandex.net
Diffstat (limited to 'src/backend/access/gist/gistproc.c')
0 files changed, 0 insertions, 0 deletions