Commit 62c46ee
committed
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.com1 parent 8d367a4 commit 62c46ee
1 file changed
+15
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6129 | 6129 | | |
6130 | 6130 | | |
6131 | 6131 | | |
| 6132 | + | |
| 6133 | + | |
| 6134 | + | |
| 6135 | + | |
| 6136 | + | |
6132 | 6137 | | |
6133 | 6138 | | |
6134 | 6139 | | |
6135 | 6140 | | |
6136 | 6141 | | |
6137 | 6142 | | |
6138 | | - | |
| 6143 | + | |
| 6144 | + | |
6139 | 6145 | | |
6140 | 6146 | | |
6141 | 6147 | | |
| |||
6148 | 6154 | | |
6149 | 6155 | | |
6150 | 6156 | | |
6151 | | - | |
| 6157 | + | |
| 6158 | + | |
| 6159 | + | |
6152 | 6160 | | |
6153 | 6161 | | |
6154 | 6162 | | |
6155 | 6163 | | |
6156 | 6164 | | |
6157 | 6165 | | |
6158 | | - | |
| 6166 | + | |
| 6167 | + | |
6159 | 6168 | | |
6160 | 6169 | | |
6161 | 6170 | | |
| |||
6168 | 6177 | | |
6169 | 6178 | | |
6170 | 6179 | | |
6171 | | - | |
| 6180 | + | |
| 6181 | + | |
| 6182 | + | |
6172 | 6183 | | |
6173 | 6184 | | |
6174 | 6185 | | |
| |||
0 commit comments