-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Commit 60fae02 introduced a whitelist of relation filenames to compare files or directories to. However, it missed that non-default tablespaces have a PG_<VER>_<CATNO> directory, that was not considered a relation and skipped, so pg_checksums would not verify or activate checksums in tablespaces. Fix this by adopting a proposed patch by Michael Paquier that only checks proper files for being a relation file, not directories. Also adapt TAP tests inducing corruption in a table in a non-default tablespace.
- Loading branch information
Showing
2 changed files
with
76 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters