model-writtenrun 7247 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Tom Lane proposed importing pg_bsd_indent into PostgreSQL so developers would no longer need a separate repository, with separate patches for the verbatim import, copyright normalization, build integration, and multiline-initializer formatting #1.
- Tom Lane planned to defer the formatting change until the post-March-CommitFest indentation run because a version bump would force developers to update their tools immediately #1 #3.
- Andres Freund supplied Meson support alongside Tom Lane's unchanged patches and reported that MinGW built successfully, MSVC lacked two path-length constants, and FreeBSD warned about the nitems macro definition #4.
- Andres Freund confirmed that MAXPGPATH fixed the Windows compilation failures, while discussion with Tom Lane settled on Perl for portable testing rather than relying on a Windows shell #6 #7 #8 #9.
- Andres Freund suggested installing the tool alongside PGXS, while Tom Lane wanted to retain the ability to use it independently of the configured installation prefix; automatic installation remained deferred #12 #13 #14.
- Tom Lane consolidated the build changes, incorporated the portability fixes, converted the existing tests to TAP, and omitted the initializer-formatting patch; Meson would build the tool by default, and both build systems would test it without automatically installing it #14.
- CI exposed a missing prerequisite for the Makefile check target, which Tom Lane corrected in an appended patch; Andres Freund independently identified the same missing executable dependency in the test log #15 #16 #17.
- After the Make tests passed, Windows output comparisons failed, leading Tom Lane to open output files in binary mode while retaining text-mode input to normalize line endings #18 #19.
- The verbatim import and copyright components of the final series landed unchanged as 4e831f4cee and b44e5fced3, while 156c049bee combined its build/test integration, missing dependency fix, and Windows output-mode fix #19.
- Months later, Alexander Lakhin reported that strict AddressSanitizer string checks detected a heap-buffer overread in lexi.c and proposed a local strspn replacement; the supplied thread ends with that new fix awaiting discussion, while automatic installation and the earlier formatting change were outside the landed import series #21 #14.