Fix short read in block incremental restore.

A compressed super block can end with bytes that are not needed to decompress it but mark the end of the data. Depending on how a buffer lined up with the data, these bytes were not read and the restore failed.

Fix overflow suppressing backup progress in info output.

The sizes in the lock file were read as 32-bit values, so the info command did not report progress for a backup larger than 4GiB.

Preserve partial files during block incremental delta restore.

A file smaller than expected was not kept for a block incremental delta restore, although its blocks can be reused, e.g. when retrying a restore that failed or restoring over a smaller file.

Add support for alternate compile-time page sizes.

can be built with a different page size, e.g. 4096, and forks such as Greenplum do this.

Skip files truncated during backup when bundling.

A file truncated to zero after the files were assigned to bundles was still stored in its bundle, and a debug build failed an assertion. These files are now skipped.

Improve SFTP storage error messages.

Refactor backup incremental manifest generation.

Refactor backup and retry code.

Improve logging of file size changes and resume warnings during backup.

Fix comments.

Update LICENSE.txt and PostgreSQL copyright for 2024.

Improve unit tests.

CI updates.