1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-14 10:13:05 +02:00
pgbackrest/lib/pgBackRest/Common
David Steele c002a2ce2f Move info file checksum to the end of the file.
Putting the checksum at the beginning of the file made it impossible to stream the file out when saving.  The entire file had to be held in memory while it was checksummed so the checksum could be written at the beginning.

Instead place the checksum at the end.  This does not break the existing Perl or C code since the read is not order dependent.

There are no plans to improve the Perl code to take advantage of this change, but it will make the C implementation more efficient.

Reviewed by Cynthia Shang.
2019-08-21 19:45:48 -04:00
..
Io Fix possible truncated WAL segments when an error occurs mid-write. 2019-02-15 11:52:39 +02:00
Cipher.pm Merge crypto/random module into crypto/crypto. 2018-11-06 20:04:16 -05:00
Exception.pm Fix issue where errors raised in C were not logged when called from Perl. 2018-07-20 08:11:34 -04:00
ExceptionAuto.pm Add Exec object. 2019-01-18 11:45:40 +02:00
Ini.pm Move info file checksum to the end of the file. 2019-08-21 19:45:48 -04:00
Lock.pm The stanza-create/update/delete commands are implemented entirely in C. 2019-08-21 16:26:28 -04:00
Log.pm Create log directories/files with 0750/0640 mode. 2019-08-17 14:15:37 -04:00
String.pm Improve performance of list requests on S3. 2017-10-20 14:10:16 -04:00
Wait.pm Removed extraneous use lib directives from Perl modules. 2016-11-04 13:56:26 +02:00