model-writtenrun 7288 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Tom Lane reported that pg_basebackup --gzip compressed the base backup but left streamed WAL effectively uncompressed, traced the symptom to confused default-level handling, and separately requested named zlib strategy constants in #1; Michael Paquier identified the incorrect fallback in BaseBackup() in #2.
- Michael chose to assign each library's default compression level during specification parsing and remove PG_COMPRESSION_OPTION_LEVEL, centralizing defaults and library-support checks in the patch at #3.
- Tom tested the patch and confirmed that --gzip now compressed WAL correctly in #4, while explaining that removing explicit rmtree calls would still leave the enclosing temporary directory subject to automatic cleanup.
- Michael committed #3 as f352e2d08a after restoring the gzip-only WAL compression restriction, adjusting tests for builds without zlib, and documenting defaults; he left cleanup behavior unchanged and reported these decisions in #5.
- Tom endorsed the separate strategy correction and tentatively attributed the original intermittent buildfarm failures to upstream zlib bugs in #6; b447d6075d then replaced hardcoded strategy arguments with Z_DEFAULT_STRATEGY without an attached patch.
- Daniel Gustafsson proposed making temporary-directory CLEANUP honor PG_TEST_NOCLEAN in #7, and Michael endorsed that direction while also suggesting user-facing documentation for PG_TEST_NOCLEAN and PG_TEST_TIMEOUT_DEFAULT in #8.
- Justin Pryzby raised missing negative Zstd compression levels in #9; Michael preferred runtime library bounds over another fixed range and supplied the separate patch in #10, which Justin reviewed for test implications and supported backpatching in #11.
- Tom cautioned about the approaching release-candidate deadline in #12 and #14, and Michael landed the bounds patch with only a punctuation adjustment as 18ac08f0b4, confirming development-branch and PostgreSQL 15 updates in #15.
- Daniel resumed the documentation proposal with #16; Michael requested Windows coverage in #17, leading Daniel to create a shared environment-variable subsection and Windows cross-reference in #18.
- Tom corrected the PG_TEST_NOCLEAN shell assignment in #19, and Michael suggested wording refinements in #21; Daniel incorporated those changes and added a separate MetaCPAN redirect-cleanup patch in #22.
- Michael accepted the URL cleanup and requested CPAN acronym markup in #23; Daniel landed the two portions of #22 as 5f80cd287c and c4421550fb, adding the acronym markup to the latter.
- At the last supplied message, Daniel confirmed the documentation was applied to HEAD in #24; the compression and documentation work had landed, while extending PG_TEST_NOCLEAN to temporary directories remained a proposal in this thread.
- The temporary-directory proposal was subsequently implemented by Jacob Champion in thread #48064, whose later patchset #537264 supplied the implementation committed in July 2023 as 8c12838001; that commit credits Daniel as reviewer and links this thread as background, so its patch provenance belongs to the later thread.