pgsql: Add checkpoint and REDO LSN to log_checkpoints message. - Mailing list pgsql-committers

From Fujii Masao
Subject pgsql: Add checkpoint and REDO LSN to log_checkpoints message.
Date
Msg-id E1o9RlA-001eBB-Bb@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/62c46eee2279eb0300ab7ffe393d0d0dcfafb157

Modified Files
--------------
src/backend/access/transam/xlog.c | 19 +++++++++++++++----
1 file changed, 15 insertions(+), 4 deletions(-)


pgsql-committers by date:

Previous
From: Dean Rasheed
Date:
Subject: pgsql: Fix alias matching in transformLockingClause().
Next
From: Tom Lane
Date:
Subject: pgsql: Remove stray references to lefttree/righttree in the executor.