Add more LOG messages when starting and ending recovery from a backup
Michael Paquier <michael@paquier.xyz>
Add more LOG messages when starting and ending recovery from a backup Three LOG messages are added in the recovery code paths, providing information that can be useful to track corruption issues depending on the state of the cluster, telling that: - Recovery has started from a backup_label. - Recovery is restarting from a backup start LSN, without a backup_label. - Recovery has completed from a backup. Author: Andres Freund Reviewed-by: David Steele, Laurenz Albe, Michael Paquier Discussion: https://postgr.es/m/20231117041811.vz4vgkthwjnwp2pp@awork3.anarazel.de
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/transam/xlogrecovery.c | modified | +34 −0 |
Discussion
- Use of backup_label not noted in log 35 messages · 2023-11-17 → 2024-01-30