postgresql/src/backend/backup
Michael Paquier e8fd6c9fda Fix error message related to end TLI in backup manifest
The code adding the WAL information included in a backup manifest is
cross-checked with the contents of the timeline history file of the end
timeline.  A check based on the end timeline, when it fails, reported
the value of the start timeline in the error message.  This error is
fixed to show the correct timeline number in the report.

This error report would be confusing for users if seen, because it would
provide an incorrect information, so backpatch all the way down.

Oversight in 0d8c9c1210.

Author: Man Zeng <zengman@halodbtech.com>
Discussion: https://postgr.es/m/tencent_0F2949C4594556F672CF4658@qq.com
Backpatch-through: 14
2026-01-18 17:25:01 +09:00
..
backup_manifest.c Fix error message related to end TLI in backup manifest 2026-01-18 17:25:01 +09:00
basebackup.c Skip .DS_Store files in server side utils 2024-02-13 13:47:12 +01:00
basebackup_copy.c Pre-beta mechanical code beautification. 2023-05-19 17:24:48 -04:00
basebackup_gzip.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
basebackup_lz4.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
basebackup_progress.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
basebackup_server.c Improve several permission-related error messages. 2023-03-17 10:33:09 +01:00
basebackup_sink.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
basebackup_target.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
basebackup_throttle.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
basebackup_zstd.c Message wording improvements 2023-07-10 10:46:54 +02:00
Makefile
meson.build Update copyright for 2023 2023-01-02 15:00:37 -05:00