1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-14 10:13:05 +02:00
pgbackrest/lib/pgBackRest
David Steele e73416e9e3 Change file ownership only when required.
Previously chown() would be called even when no ownership changes were required.

In most cases changes are not required and it seems better to perform an extra stat() rather than an extra chown().

Also add unit tests for owner() since there weren't any.
2018-12-05 17:56:47 -05:00
..
Archive Rename PGBACKREST/BACKREST constants to PROJECT. 2018-11-24 19:05:03 -05:00
Backup Remove request for S3 object info directly after putting it. 2018-11-30 10:38:02 -05:00
Check Add checksum delta for incremental backups. 2018-09-19 11:12:45 -04:00
Common Rename PGBACKREST/BACKREST constants to PROJECT. 2018-11-24 19:05:03 -05:00
Config Rename PGBACKREST/BACKREST constants to PROJECT. 2018-11-24 19:05:03 -05:00
Protocol Rename PGBACKREST/BACKREST constants to PROJECT. 2018-11-24 19:05:03 -05:00
Storage Change file ownership only when required. 2018-12-05 17:56:47 -05:00
Db.pm Rename PGBACKREST/BACKREST constants to PROJECT. 2018-11-24 19:05:03 -05:00
DbVersion.pm Fix static WAL segment size used to determine if archive-push-queue-max has been exceeded. 2018-10-27 20:00:00 +01:00
Expire.pm Rename retention-* options to repo-retention-*. 2018-02-19 15:07:24 -05:00
Info.pm Rename CipherError to CryptoError. 2018-11-06 19:38:38 -05:00
InfoCommon.pm Added stanza-upgrade command. 2017-04-03 10:42:55 -04:00
LibC.pm Allow command/option constants to autonumber in both C and Perl to reduce churn when a new command/option is added. 2018-08-24 19:31:45 -04:00
LibCAuto.pm Merge crypto/random module into crypto/crypto. 2018-11-06 20:04:16 -05:00
Main.pm Improve log file names for remote processes started by locals. 2018-08-31 11:31:13 -04:00
Manifest.pm Automatically enable backup checksum delta when anomalies (e.g. timeline switch) are detected. 2018-11-01 11:31:25 -04:00
Restore.pm Error when --target-action=shutdown specified for PostgreSQL < 9.5. 2018-12-05 16:21:45 -05:00
RestoreFile.pm Fix delta restore failing when a linked file was missing. 2018-05-02 12:06:12 -04:00
Stanza.pm Rename CipherError to CryptoError. 2018-11-06 19:38:38 -05:00
Version.pm Rename PGBACKREST/BACKREST constants to PROJECT. 2018-11-24 19:05:03 -05:00