1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-14 10:13:05 +02:00
pgbackrest/test
Georgy Shelkovy 05207bb8e4
Fix storageReadRemote() to return actual read bytes.
All storage interface read methods should return actual read bytes. This patch refactors storageReadRemote() to eliminate duplicated code and return actual read bytes. The return value is calculated as the number of bytes written to the passed buffer.

This is technically a bug but does not express as an issue currently because this return value is not being used. It will be used in the future, though, so it needs to be fixed.
2023-11-15 09:41:40 -03:00
..
certificate SFTP support for repository storage. 2023-05-13 19:16:16 +03:00
code-count Remove support for PostgreSQL 9.3. 2023-11-09 12:59:12 -03:00
data
lib/pgBackRestTest Remove support for PostgreSQL 9.3. 2023-11-09 12:59:12 -03:00
src Fix storageReadRemote() to return actual read bytes. 2023-11-15 09:41:40 -03:00
.gitignore
ci.pl Build command and configuration reference in C. 2023-10-09 14:03:43 -04:00
container.yaml Remove support for PostgreSQL 9.3. 2023-11-09 12:59:12 -03:00
define.yaml Build command and configuration reference in C. 2023-10-09 14:03:43 -04:00
Dockerfile SFTP support for repository storage. 2023-05-13 19:16:16 +03:00
test.pl Remove support for PostgreSQL 9.3. 2023-11-09 12:59:12 -03:00
uncrustify.cfg Check for stray execute permissions in test.pl --code-format. 2023-02-01 12:57:04 +07:00
Vagrantfile SFTP support for repository storage. 2023-05-13 19:16:16 +03:00