postgresql/src
Fujii Masao 62c46eee22 Add checkpoint and REDO LSN to log_checkpoints message.
It is useful for debugging purposes to report the checkpoint LSN and
REDO LSN in log_checkpoints message. It can give more context while
analyzing checkpoint-related issues. pg_controldata reports the last
checkpoint LSN and REDO LSN, but having this information alongside
the log message helps analyze issues that happened previously,
connect the dots and identify the root cause.

Author: Bharath Rupireddy, Kyotaro Horiguchi
Reviewed-by: Michael Paquier, Julien Rouhaud, Nathan Bossart, Fujii Masao, Greg Stark
Discussion: https://postgr.es/m/CALj2ACWt6kqriAHrO+AJj+OmP=suwbktHT5JoYAn-nqZe2gd2g@mail.gmail.com
2022-07-07 22:37:54 +09:00
..
backend Add checkpoint and REDO LSN to log_checkpoints message. 2022-07-07 22:37:54 +09:00
bin Make Windows 10 the minimal runtime requirement for WIN32 2022-07-07 13:25:45 +09:00
common Change internal RelFileNode references to RelFileNumber or RelFileLocator. 2022-07-06 11:39:09 -04:00
fe_utils Remove redundant null pointer checks before PQclear and PQconninfoFree 2022-07-03 20:11:05 +02:00
include Convert macros to static inline functions (block.h) 2022-07-07 08:36:51 +02:00
interfaces Reorder ecpg_config.h.in alphabetically 2022-07-06 07:16:46 +02:00
makefiles Unify DLSUFFIX on Darwin 2022-07-06 07:41:33 +02:00
pl PL/Python: Update guide to alternative expected files 2022-06-27 12:53:05 +02:00
port Remove redundant null pointer checks before free() 2022-07-03 11:47:15 +02:00
template Unify DLSUFFIX on Darwin 2022-07-06 07:41:33 +02:00
test Fix alias matching in transformLockingClause(). 2022-07-07 13:08:08 +01:00
timezone Update time zone data files to tzdata release 2022a. 2022-05-05 14:54:53 -04:00
tools Change internal RelFileNode references to RelFileNumber or RelFileLocator. 2022-07-06 11:39:09 -04:00
tutorial Update copyright for 2022 2022-01-07 19:04:57 -05:00
.gitignore
DEVELOPERS
Makefile Remove the option to build thread_test.c outside configure. 2020-10-21 12:08:48 -04:00
Makefile.global.in Remove LLVM_CONFIG from Makefile.global.in 2022-07-06 08:11:39 -07:00
Makefile.shlib Tiny capitalization adjustment in pkg-config files 2022-07-06 10:35:33 +02:00
nls-global.mk Improve frontend error logging style. 2022-04-08 14:55:14 -04:00