postgresql/src/backend
Fujii Masao b0236508d3 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
2020-04-01 03:35:13 +09:00
..
access Improve the message logged when recovery is paused. 2020-04-01 03:35:13 +09:00
bootstrap Revert "Skip WAL for new relfilenodes, under wal_level=minimal." 2020-03-22 09:24:09 -07:00
catalog Update SQL features 2020-03-31 08:25:03 +02:00
commands Improve error reporting in opclasscmds.c 2020-03-31 17:51:57 +03:00
executor Allow the planner-related functions and hook to accept the query string. 2020-03-30 13:51:05 +09:00
foreign Update copyrights for 2020 2020-01-01 12:21:45 -05:00
jit Extend ExecBuildAggTrans() to support a NULL pointer check. 2020-03-04 17:29:18 -08:00
lib Move src/backend/utils/hash/hashfn.c to src/common 2020-02-27 09:25:41 +05:30
libpq Provide a TLS init hook 2020-03-25 17:13:17 -04:00
main Add PostgreSQL home page to --help output 2020-02-28 13:12:21 +01:00
nodes Implement operator class parameters 2020-03-30 19:17:23 +03:00
optimizer Implement operator class parameters 2020-03-30 19:17:23 +03:00
parser Implement operator class parameters 2020-03-30 19:17:23 +03:00
partitioning Add object names to partition integrity violations. 2020-03-23 08:09:15 +05:30
po Translation updates 2019-06-17 15:30:20 +02:00
port Update copyrights for 2020 2020-01-01 12:21:45 -05:00
postmaster Trigger autovacuum based on number of INSERTs 2020-03-28 19:20:12 +13:00
regex Update copyrights for 2020 2020-01-01 12:21:45 -05:00
replication Move routine definitions of xlogarchive.c to a new header file 2020-03-31 15:33:04 +09:00
rewrite Fix INSERT OVERRIDING USER VALUE behavior 2020-03-31 08:50:39 +02:00
snowball Update copyrights for 2020 2020-01-01 12:21:45 -05:00
statistics Prevent functional dependency estimates from exceeding column estimates. 2020-03-28 12:48:34 +00:00
storage Fix assorted typos 2020-03-31 16:00:06 +02:00
tcop Fix assorted typos 2020-03-31 16:00:06 +02:00
tsearch Remove useless pfree()s at the ends of various ValuePerCall SRFs. 2020-03-16 21:36:53 -04:00
utils Teach pg_ls_dir_files() to ignore ENOENT failures from stat(). 2020-03-31 12:57:55 -04:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
common.mk Remove PARTIAL_LINKING build mode. 2018-03-30 17:33:04 -07:00
Makefile Update copyrights for 2020 2020-01-01 12:21:45 -05:00
nls.mk Translation updates 2019-05-20 16:00:53 +02:00