aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistvacuum.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2020-02-24 18:14:22 +0900
committerMichael Paquier <michael@paquier.xyz>2020-02-24 18:14:22 +0900
commitda2a7180aa0ed18d4e283a934d3f789912fd99c5 (patch)
tree7838f2796bedadcfe9c11775959e900d3feb58fe /src/backend/access/gist/gistvacuum.c
parent2eadd00dd475e8f8731d67baf2a2296b8c13eeec (diff)
downloadpostgresql-da2a7180aa0ed18d4e283a934d3f789912fd99c5.tar.gz
postgresql-da2a7180aa0ed18d4e283a934d3f789912fd99c5.zip
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
Diffstat (limited to 'src/backend/access/gist/gistvacuum.c')
0 files changed, 0 insertions, 0 deletions