mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-02-01 13:17:46 +02:00
7ec51e7e62
Previously the behavior was to download the file from the repository when it was not exactly the same size in PGDATA. However, it may just be that the file was extended and the contents are the same up to the file size recorded in the manifest. This could also be very valuable for files that are always append only, like logs. Change info.size to file->size in one place. Both are technically correct but file->size makes more sense. Use the new fileName variable in a few existing places. Also adjust some existing comments to make them clearer.