aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/xml.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2024-01-25 17:07:56 +0900
committerMichael Paquier <michael@paquier.xyz>2024-01-29 09:04:51 +0900
commitedbd1b41ab5bd4be06dbebb3c60149f7910d7c5c (patch)
tree03887ad443269a2a6449b2c72b7bca863fd91624 /src/backend/utils/adt/xml.c
parentf57a580fd280fd1057f9526ca98d63f4805fa17b (diff)
downloadpostgresql-edbd1b41ab5bd4be06dbebb3c60149f7910d7c5c.tar.gz
postgresql-edbd1b41ab5bd4be06dbebb3c60149f7910d7c5c.zip
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. This was originally applied on HEAD as of 1d35f705e191, and there is consensus that this can be useful for older versions. This applies cleanly down to 15, so do it down to this version for now (older versions have heavily refactored the WAL recovery paths, making the change less straight-forward to do). Author: Andres Freund Reviewed-by: David Steele, Laurenz Albe, Michael Paquier Discussion: https://postgr.es/m/20231117041811.vz4vgkthwjnwp2pp@awork3.anarazel.de Backpatch-through: 15
Diffstat (limited to 'src/backend/utils/adt/xml.c')
0 files changed, 0 insertions, 0 deletions