model-writtenrun 5891 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- The thread began with Andrew Dunstan's announcement of f920f7e799, which added a tar availability probe to the pg_basebackup TAP test after a buildfarm failure and was backpatched to release 14 #1.
- Tom Lane objected that checking tar --version excluded useful legacy implementations and demonstrated failure on AIX; Andrew's successful FreeBSD test did not resolve that portability problem #2 #3 #4.
- Andrew concluded that the affected Windows machine already had tar, but its MsysGit version mishandled drive-qualified paths; the version probe would pass without preventing the actual failure, so he proposed reverting it and tested using the system tar instead #5 #7.
- Andrew implemented the discussed revert in 745b99c644, removing the version probe and documenting why the test should rely on the actual backup operation to expose tar failures.
- Andres Freund then reproduced the drive-letter failure with current Git for Windows; following Tom's suggestion to select the system tar explicitly, Andres reported successful CI testing with a path based on SYSTEMROOT #8 #9 #10 #11.
- Michael Paquier reported that his supported Windows VM lacked tar at that location and requested a way to skip unavailable tools plus documentation, while Andres favored a default that worked for newer installations #12 #14 #15.
- Tom observed that a simple archive-creation probe would also miss the drive-letter problem and suggested stripping drive letters or testing that exact behavior; Andrew noted that Git installation options affected whether its tar appeared in PATH #16 #17.
- Michael eventually accepted the proposed system-tar default but found that assigning defaults after buildenv.pl prevented disabling unsuitable commands with empty or deleted environment variables; Andrew questioned why MSVC should differ from Makefile builds #19 #20 #21.
- Michael supplied a patch that retained the existing defaults while moving their assignments before buildenv.pl and documenting TAR, LZ4, and GZIP_PROGRAM, allowing users to disable optional tests; Andrew accepted it #22 #23.
- Michael committed that patch with only assignment-order cleanup as 7acd01015c and confirmed backpatching through release 10 in the final message; the thread records no landing of the proposed explicit system-tar default or additional compatibility probes #24.