model-writtenrun 2274 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
Apr 2024 · 3 entries
- David E. Wheeler proposed bringing Christoph Berg's Debian extension-directory patch into core to support immutable containers, preserve Postgres.app signatures and test extensions outside system installation directories #1.
- Álvaro Herrera raised concerns about runtime-configurable library locations, Wolfgang Walther suggested startup configuration, and David's first attachment required a restart #2 #3 #7.
- Christoph explained that the Debian mechanism prepended a DESTDIR-style prefix to existing installation paths and was designed for package-build testing; David added initial documentation while retaining the startup restriction #8 #9 #10.
Jun 2024 - May 2025 · 20 entries
- Robert Haas argued that broader superuser restrictions should be handled separately and requested clearer examples, while suggesting a control-file analogue of dynamic_library_path; David expanded the prefix documentation and documented PGXS DESTDIR #13 #24 #26.
- Jelte Fennema-Nio identified inconsistencies in library-path handling and questioned the restart requirement, and David subsequently restored superuser-settable configuration while retaining the prefix implementation #27 #29.
- Craig Ringer argued for multiple search locations and keeping each extension's scripts with its selected control file, while David and Gabriele Bartolini explored broader per-extension directory packaging that was eventually moved to a separate discussion #32 #38 #40 #46.
- After several months, Peter Eisentraut replaced the prefix design with extension_control_path, a $system default and reusable path-search routines, leaving documentation and extension-enumeration functions unfinished #48.
- Peter's next version enabled make install prefix overrides, completed documentation and stripped leading $libdir/ from library names so existing extensions could use dynamic_library_path without changing their control files #55.
- David's testing found that ordinary extensions worked but semver's directory setting still resolved scripts under the original installation, and Peter clarified that prefix should be supplied only to the install target while acknowledging the directory limitation #56 #57.
- Matheus Alcantara took up Peter's patch, completed path-aware extension enumeration and added TAP tests; Andrew Dunstan's review prompted cleanup, and Matheus then repaired Windows separators and escaping in the tests #61 #62 #63 #64.
- Gabriele reported successful pgvector testing in CloudNativePG using a pilot prepared by Niccolò Fei and Marco Nenciarini, demonstrating that separately mounted extension images could be discovered through the new paths #65.
- Matheus strengthened the TAP assertions, after which Peter supplied a foreach_ptr fix-up and identified inconsistencies between directory enumeration and the shared path parser; Matheus incorporated both and added a test for extensions in $system #69 #70 #71.
- Peter then found broken empty-path fallback and redundant control-file searches, leading Matheus to add a control-structure constructor, reuse the discovered directory and test an empty extension_control_path #72 #73.
- Peter committed the feature from #73 as 4f7f7b0375, extending direct control-directory use to version enumeration and simplifying allocation and missing-file handling #74.
- Christoph confirmed that the landed feature replaced Debian's extension_destdir patch for package-build testing, while David tested the landed implementation, submitted a separate prefix-documentation patch and reiterated the unresolved relative-directory problem #76 #77.
- Tom Lane reported buildfarm failures because the new TAP test assumed contrib's amcheck was installed, and Matheus supplied a two-line replacement using the core plpgsql extension #78 #79.
- Peter committed that test repair unchanged as b7076c1e7f and reproduced the failure with a build lacking contrib; Tom subsequently confirmed the failing buildfarm animal was green #81 #82.
- Further investigation showed that the affected buildfarm run rebuilt a temporary installation without contrib, and Andrew traced that rebuild to an outdated buildfarm client's installation detection #87 #90.
- Matheus reproduced the remaining directory-setting problem and proposed making extension implicit beneath each search location; David agreed that this would effectively make the setting a SHAREDIR search path #88 #89.
- After an April rebase, Christoph reviewed the prefix documentation and corrected its example locations and prefix-matching terminology, while Matheus later caught a typo that David fixed #91 #92 #93 #95 #96.
- David temporarily removed /extension from the documentation example in anticipation of a separate patch, but Peter pointed out that this contradicted the implemented behavior and David agreed the documentation should describe the current state #94 #97 #98.
- Peter committed the documentation follow-up from #96 as 0064020680, restoring /extension, correcting where postgresql is appended in installation paths and fixing markup #99.
- The thread ends with the feature, test repair and documentation committed, the broader search-path adjustment still described as separate pending work, and David proposing an inline comma correction with no subsequent disposition shown #98 #101.