1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-01-06 03:53:59 +02:00
pgbackrest/test/lib/pgBackRestTest/Env
David Steele 4a73a02863
Simplify manifest defaults.
Manifest defaults for user, group, and mode were previously generated by scanning the data to find the most common values. This was very accurate but slow and complicated. It could also lead to surprising changes in the manifest when a default value suddenly changed.

Instead, use the $PGDATA path to generate defaults. In the vast majority of cases the same user/group should own all the path/files and the default file mode is easily derived from the path mode. There may be some edge cases where this generates larger manifests, but in general it reduces time and complexity when saving the manifest.

Remove the MCV code since it is longer longer used.
2022-01-21 15:22:48 -05:00
..
Host Simplify manifest defaults. 2022-01-21 15:22:48 -05:00
ArchiveInfo.pm Rename BackRestDoc Perl module to pgBackRestDoc. 2020-03-10 15:41:56 -04:00
BackupInfo.pm Rename BackRestDoc Perl module to pgBackRestDoc. 2020-03-10 15:41:56 -04:00
ExpireEnvTest.pm Remove support for PostgreSQL 8.3/8.4. 2022-01-06 15:34:04 -05:00
HostEnvTest.pm Remove support for PostgreSQL 8.3/8.4. 2022-01-06 15:34:04 -05:00
InfoCommon.pm Move Perl modules out of lib directory. 2020-03-10 15:12:44 -04:00
Manifest.pm Simplify manifest defaults. 2022-01-21 15:22:48 -05:00