model-writtenrun 3457 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
Mar - Apr 2024 ยท 18 entries
- Wolfgang Walther reported that musl builds could not load indirect libpq dependencies through LD_LIBRARY_PATH, breaking temporary-install regression tests and documented custom-library configurations, and supplied reproductions in #1 and #3.
- Thomas Munro traced the failure to process-title updates overwriting environment strings in #10, and Wolfgang confirmed that disabling those updates fixed the problem in #11.
- The initial discussion considered disabling process titles on musl, but musl supplied no identifying compiler macro; Andrew Dunstan proposed an explicit PS_USE_NONE build override in #15, while Thomas proposed preserving LD_* environment values in #17.
- Thomas supplied selective environment protection in #19 and refined it in #22 to apply only on Linux and reclaim space occupied by the variable name.
- Bruce Momjian questioned truncating process titles on ordinary Linux installations in #25, and Tom Lane requested narrower variable matching in #26, leading Thomas to protect only LD_LIBRARY_PATH and LD_PRELOAD in #30.
- Peter Eisentraut proposed enabling environment clobbering only for known libc implementations in #31; Wolfgang tested both fixes and supplied a different approach that re-executed PostgreSQL with a padded argv[0] while leaving the environment intact in #33.
- Wolfgang argued that avoiding environment clobbering would also repair /proc environment visibility and remove the sanitizer workaround in #48, while Thomas suggested padding through pg_ctl in #50 and Tom objected to assuming all servers start that way in #51.
- Bruce combined selective variable protection with known-libc detection in #55; Wolfgang found and tested a correction to its condition in #64, which Bruce incorporated before expanding the explanation in #67 and #68.
- Wolfgang combined the minimal fix with four additional proposals in #70: an explicit process-title disable flag, re-execution with a separate space-filled argument, process-title updates by default on other systems, and eventual removal of PS_USE_NONE.
- Tom favored backpatching only the minimal fix to enable musl buildfarm testing in #75, and Bruce agreed in #77; the broader re-exec and process-title changes were left out because Tom considered them unnecessary for the reported bug.
- After Thomas questioned whether LD_PRELOAD needed protection in #74, Tom inspected musl and confirmed only LD_LIBRARY_PATH survived in a static pointer, producing the simplified patch and rewritten explanation in #78.
- Thomas approved the final patch in #79, Bruce agreed in #81, and Peter accepted its explanation in #82.
- Wolfgang opened the related buildfarm and CI discussion in #85, reporting remaining Alpine issues involving LDAP setup, recovery tests, ICU locales, and gettext linking.
- Tom committed #78 with only comment and whitespace changes as 8a92b70c11 and announced the push in #87; the supplied candidate 7124e7d528 is its PostgreSQL 12 backport, so the two candidate records describe one change.
- Wolfgang reported active Alpine buildfarm animals in #88, with LDAP and recovery failures resolved through container setup changes, gettext linking assigned to Alpine packaging, and PostgreSQL locale and ICU questions still open.
- Following Andres Freund's preference for adapting an existing CI task in #80, Wolfgang proposed building SanityCheck with musl-gcc in #89 and reported successful testing after adding the required kernel-header links.
- Peter opposed putting musl in the gating SanityCheck environment in #91, and Tom agreed in #93 because failures there could block the whole CI pipeline.
- At the last message, the library-loading fix had landed and Alpine buildfarm coverage was running, while the broader process-title series and CI patch remained uncommitted; Wolfgang suggested a later CI job would make musl-specific failures easier to distinguish in #96.