postgresql/src/bin
Tom Lane ca1f1ade3f Remove read_archive_file()'s "count" parameter.
Instead, always try to fill the allocated buffer completely.
The previous coding apparently intended (though it's undocumented)
to read only small amounts of data until we are able to identify the
WAL segment size and begin filtering out unwanted segments.  However
this extra complication has no measurable value according to simple
testing here, and it could easily be a net loss if there is a
substantial amount of non-WAL data in the archive file before the
first WAL file.

Discussion: https://postgr.es/m/3341199.1774221191@sss.pgh.pa.us
2026-03-24 12:17:12 -04:00
..
initdb ssl: Serverside SNI support for libpq 2026-03-18 12:37:11 +01:00
pg_amcheck Use pg_malloc_object() and pg_alloc_array() variants in frontend code 2026-02-27 18:59:41 +09:00
pg_archivecleanup Update copyright for 2026 2026-01-01 13:24:10 -05:00
pg_basebackup pg_createsubscriber: Introduce module-specific logging functions. 2026-03-23 09:23:20 +05:30
pg_checksums Update copyright for 2026 2026-01-01 13:24:10 -05:00
pg_combinebackup Prevent restore of incremental backup from bloating VM fork. 2026-03-09 06:45:32 -04:00
pg_config Update copyright for 2026 2026-01-01 13:24:10 -05:00
pg_controldata Update copyright for 2026 2026-01-01 13:24:10 -05:00
pg_ctl Use pg_malloc_object() and pg_alloc_array() variants in frontend code 2026-02-27 18:59:41 +09:00
pg_dump Fix accidentally casting away const 2026-03-24 14:34:50 +01:00
pg_resetwal Fix variety of typos and grammar mistakes 2026-02-24 13:26:37 +09:00
pg_rewind Use pg_malloc_object() and pg_alloc_array() variants in frontend code 2026-02-27 18:59:41 +09:00
pg_test_fsync Update copyright for 2026 2026-01-01 13:24:10 -05:00
pg_test_timing Update copyright for 2026 2026-01-01 13:24:10 -05:00
pg_upgrade Don't leave behind files in src dir in 007_multixact_conversion.pl 2026-03-17 11:24:52 +02:00
pg_verifybackup pg_verifybackup: Enable WAL parsing for tar-format backups 2026-03-20 15:31:35 -04:00
pg_waldump Remove read_archive_file()'s "count" parameter. 2026-03-24 12:17:12 -04:00
pg_walsummary Fix accidentally cast away qualifiers 2026-01-26 16:02:31 +01:00
pgbench Use pg_malloc_object() and pg_alloc_array() variants in frontend code 2026-02-27 18:59:41 +09:00
pgevent Update copyright for 2026 2026-01-01 13:24:10 -05:00
psql Add option force_array for COPY JSON FORMAT 2026-03-20 08:40:17 -04:00
scripts Use pg_malloc_object() and pg_alloc_array() variants in frontend code 2026-02-27 18:59:41 +09:00
Makefile Update copyright for 2026 2026-01-01 13:24:10 -05:00
meson.build Update copyright for 2026 2026-01-01 13:24:10 -05:00