model-writtenrun 9162 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Jeremy Harris reported that configuring a RHEL 8 beta buildfarm animal failed because the installed Python packages supplied python2 or python3 but no unversioned python command #1; Tom Lane and Andrew Dunstan explained how to select an interpreter explicitly through PYTHON #2 #3.
- Andres Freund proposed probing python2 #4, while Tom Lane resisted introducing a Python 2 preference and explored, without adopting, more elaborate version detection #5.
- Peter Eisentraut proposed searching python, python3, then python2 #6; Andres preferred Python 2 before Python 3 on existing branches #7, and Peter subsequently considered a shorter search list or waiting for updated Python naming guidance #8.
- Thomas Munro confirmed that FreeBSD meta-packages provide python2 and python3 commands #10, and Tom ultimately supported python, python3, python2 with the existing PYTHON override, including backpatching because previously working configurations would retain their behavior #13.
- Peter submitted that search-order patch #14, and Tom requested documentation explaining the new behavior #15.
- Tom also identified a separate pre-existing cache problem and proposed declaring PYTHON through AC_ARG_VAR so changing interpreters would invalidate incompatible cached configure results #16.
- Peter committed the search-order patch with installation documentation as 7291733ac9, but initially backpatched only through PostgreSQL 10 because older branches handled absolute and nonabsolute interpreter paths inconsistently #17.
- Peter then submitted a separate cache-safety patch covering MSGFMT, PERL, PYTHON and TCLSH #18; Tom pointed out that XML2_CONFIG also affects CPPFLAGS #19, and Peter included it in 29b3ac7546 #20.
- Months later, failures on the new morepork buildfarm animal revived the older-branch problem, and Tom supplied a backport using AC_PATH_PROGS that preserved existing PYTHON override behavior while carrying the search-order documentation #21.
- Peter accepted the backport #22, and Tom committed it unchanged apart from branch context as 96db9d5e2b, confirming completion in the thread's final message #23; no attached patch remained pending.