aboutsummaryrefslogtreecommitdiff
path: root/src/backend/regex/regexec.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2020-02-24 18:14:16 +0900
committerMichael Paquier <michael@paquier.xyz>2020-02-24 18:14:16 +0900
commita8beece956ebf0659e64e229519f6e87b13b8b3a (patch)
tree69b7de82d18b2665114e6512513c80f76a72a42a /src/backend/regex/regexec.c
parent4c95ce048327d465382f265303555ebf32e5dcd0 (diff)
downloadpostgresql-a8beece956ebf0659e64e229519f6e87b13b8b3a.tar.gz
postgresql-a8beece956ebf0659e64e229519f6e87b13b8b3a.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/regex/regexec.c')
0 files changed, 0 insertions, 0 deletions