1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-12 10:04:14 +02:00
pgbackrest/lib/pgBackRest
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
..
Archive Force PostgreSQL versions to string for newer versions of JSON:PP. 2019-07-05 17:25:01 -04:00
Backup The local command for backup is implemented entirely in C. 2019-07-25 14:34:16 -04:00
Check The check command is implemented partly in C. 2019-08-01 20:35:01 -04:00
Common Move info file checksum to the end of the file. 2019-08-21 19:45:48 -04:00
Config Enforce requiring repo-cipher-pass at config parse time. 2019-06-05 11:43:17 -04:00
Protocol The local command for backup is implemented entirely in C. 2019-07-25 14:34:16 -04:00
Storage Add Perl interface to C storage layer. 2019-06-26 08:24:58 -04:00
Db.pm The check command is implemented partly in C. 2019-08-01 20:35:01 -04: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
InfoCommon.pm Added stanza-upgrade command. 2017-04-03 10:42:55 -04:00
LibC.pm Remove perl critic and coverage. 2019-07-05 16:55:17 -04:00
LibCAuto.pm Add repo-s3-port option for setting a non-standard S3 service port. 2019-07-25 17:36:51 -04:00
Main.pm The stanza-create/update/delete commands are implemented entirely in C. 2019-08-21 16:26:28 -04:00
Manifest.pm Force PostgreSQL versions to string for newer versions of JSON:PP. 2019-07-05 17:25:01 -04:00
Restore.pm Add Perl interface to C storage layer. 2019-06-26 08:24:58 -04:00
RestoreFile.pm Add Perl interface to C storage layer. 2019-06-26 08:24:58 -04:00
Version.pm Begin v2.17 development. 2019-08-05 12:32:06 -04:00