postgresql/src/bin/pg_rewind
Michael Paquier bf883b211e Add prefix checks in exclude lists for pg_rewind, pg_checksums and base backups
An instance of PostgreSQL crashing with a bad timing could leave behind
temporary pg_internal.init files, potentially causing failures when
verifying checksums.  As the same exclusion lists are used between
pg_rewind, pg_checksums and basebackup.c, all those tools are extended
with prefix checks to keep everything in sync, with dedicated checks
added for pg_internal.init.

Backpatch down to 11, where pg_checksums (pg_verify_checksums in 11) and
checksum verification for base backups have been introduced.

Reported-by: Michael Banck
Author: Michael Paquier
Reviewed-by: Kyotaro Horiguchi, David Steele
Discussion: https://postgr.es/m/62031974fd8e941dd8351fbc8c7eff60d59c5338.camel@credativ.de
Backpatch-through: 11
2020-02-24 18:13:25 +09:00
..
po Translation updates 2019-06-17 15:30:20 +02:00
t Improve test coverage of pg_rewind 2019-10-08 11:46:30 +09:00
.gitignore Improve logging of TAP tests. 2015-07-09 13:19:10 +03:00
copy_fetch.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
datapagemap.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
datapagemap.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
fetch.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
fetch.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
file_ops.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
file_ops.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
filemap.c Add prefix checks in exclude lists for pg_rewind, pg_checksums and base backups 2020-02-24 18:13:25 +09:00
filemap.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
libpq_fetch.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
Makefile Update copyrights for 2020 2020-01-01 12:21:45 -05:00
nls.mk Remove pg_rewind's private logging.h/logging.c files. 2019-05-14 13:11:23 -04:00
parsexlog.c Refactor XLogReadRecord(), adding XLogBeginRead() function. 2020-01-26 11:39:00 +02:00
pg_rewind.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00
pg_rewind.h Update copyrights for 2020 2020-01-01 12:21:45 -05:00
timeline.c Update copyrights for 2020 2020-01-01 12:21:45 -05:00