Skip zero-length files for block incremental delta restore.

An existing zero-length file caused a block incremental delta restore to fail in the block checksum filter. These files are now skipped, since there is nothing in them to reuse.

Fix performance regression in storage list.

Listing a path requested detailed information for each file, which could be slow, e.g. on object stores. Only the information the list needs is now requested.

Fix progress logging when file size changes during backup.

Improved support for dual stack connections.

When a host name resolves to more than one address, e.g. IPv4 and IPv6, the next address is tried once the prior address has had reasonable time to connect, following the happy eyeballs approach of RFC 8305. A connection attempt that neither fails nor connects no longer uses up all the available time.

Make meson the primary build system.

meson is now the build system used for testing and for building the documentation. Functions not used outside their module are now hidden, which makes the binary smaller.

Detect files that have not changed during non-delta incremental backup.

During a non-delta diff or incr backup, a file that fits in a single buffer, or any block incremental file, is compared to the file in the prior backup and referenced instead of stored when it has not changed.

Prevent invalid recovery when backup_label removed.

When backup_label is removed from a restored cluster, uses the checkpoint in pg_control for crash recovery, which nearly always corrupts the cluster. Restore now invalidates the checkpoint in pg_control, so recovery fails instead. pg_controldata shows the checkpoint as 0/DEAD.

Improve archive-push WAL segment queue handling.

The size of every WAL segment in the queue was read to measure the queue. The size of the first segment is now used for all of them.

Limit resume functionality to full backups.

Resume did not work correctly for delta diff and incr backups, and a file that changed since the prior backup is likely to change again before a resume. Only full backups are resumed now.

Update resume functionality for block incremental.

Resume removed block incremental files, so it worked but copied all of them again. Block incremental files are now kept on resume.

Allow --version and --help for version and help.

--version and --help now work as they do for most programs. Use help for help on a specific command or option.

Add detailed backtrace to autoconf/make build.

Error stack traces in the autoconf/make build now include detail from libbacktrace, which performance tests showed has no noticeable cost.

Improve sort comparators.

Fix help not displaying help for the help command.

Update config.guess and config.sub to latest versions.

Improve asserts.

Validate more fields in pg_control.

Redact secure options in check --report.

Update references to recovery.conf.

References to recovery.conf now include postgresql.auto.conf, which newer versions of use.

Migrate man page generation to C.

Add release instructions to update PostgreSQL ecosystem wiki.

Migrate integration tests to C.

Improve unit tests and test tools.

CI updates.