model-writtenrun 9753 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Raúl Marín Rodríguez reported that '+' and other regex metacharacters in build paths broke pgbench TAP filename checks on master and PostgreSQL 11, and proposed escaping the prefix with quotemeta #1.
- Tom Lane questioned whether regex escaping also suited glob patterns, then tested the approach and concluded it should work #2 #5; Alvaro Herrera suggested mapping quotemeta over filenames, but that alternative was not adopted #4.
- Tom committed Raúl's patch as 458a1244f1, correcting the array variable to a scalar and retaining the original test description #6.
- Windows buildfarm failures prompted Tom to reopen the issue #8; Fabien COELHO identified platform-dependent glob escaping and separately reproduced failures caused by splitting command arguments when directory names contain spaces #9.
- Andrew Dunstan proposed separating glob and regex escaping and considering File::Glob #10, while Tom favored reading directories directly and reverted the first fix to restore the buildfarm in f4593bd2ff #11.
- Fabien and Andrew supported directory enumeration #13 #14, and Fabien supplied a replacement using readdir with regex filtering plus raw command arguments to preserve spaces, tested in a directory named 'pg .* dir' #15.
- Raúl verified that the replacement fixed his original '+' case #16 and subsequently recorded the successful pgbench TAP result through the commitfest application #20.
- At the thread's last message, Raúl had retested the unchanged patch against master and marked it ready for committer #22; Andrew then committed Fabien's replacement unchanged as e988878f85, completing the fix.