model-writtenrun 9208 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
Jun - Aug 2019 ยท 14 entries
- Ian Lawrence Barwick demonstrated that cascading standby backups could leave duplicate primary_conninfo entries in postgresql.auto.conf, causing ALTER SYSTEM to change an ineffective earlier entry, and submitted a fix plus TAP tests in #1.
- Stephen Frost and Amit Kapila initially favored making pg_basebackup avoid duplicates and sharing configuration-editing infrastructure, while Stephen and Magnus Hagander argued for warning when duplicates were removed #2 #3 #6 #7.
- Robert Haas argued that allowing external tools to append settings avoided burdensome configuration parsing, and Tom Lane proposed deleting all matches for the target parameter before appending its new value, without treating duplicates as invalid #22 #26 #37.
- The discussion explored a common frontend API and using a standalone backend, but Ian explained that single-user mode could not handle standby configuration and that a frontend implementation would require extracting or duplicating backend parsing code #17 #40 #45.
- After roughly a month without progress, Tomas Vondra revived the PostgreSQL 12 open item, and Andres Freund argued that new editing tools and configuration-history features were outside the release's scope, favoring the minimal ALTER SYSTEM fix #50 #55 #66.
- Tom supplied a simpler deletion-and-append implementation in #71, limiting cleanup to the parameter being changed and omitting Ian's TAP suite because a new test subdirectory would require additional buildfarm and possibly MSVC integration.
- Stephen accepted documented duplicate handling without warnings and backed away from requiring shared editing infrastructure for PostgreSQL 12, while Tom agreed that external-tool behavior needed documentation #92 #98.
- Tom's separate documentation patch stated that the last duplicate setting wins, allowed external tools to modify postgresql.auto.conf, and discouraged modifications while the server is running because ALTER SYSTEM could overwrite them #101.
- Stephen and Ian reviewed the documentation and requested clearer treatment of duplicate and comment removal, while Michael Paquier suggested mentioning precedence over included configuration files; the final documentation incorporated the removal clarification but not Michael's additional wording #103 #104 #106 #110.
- The documentation review also exposed case-sensitive matching in the code: Stephen insisted that differently cased names were duplicates, and Ian revised Tom's patch to use guc_name_compare() in #107 following #105.
- Tom committed the code from #107 as f1bf619acd, with only a harmless adjustment to the order of freeing fields, and backpatched the fix to all supported branches.
- Tom then posted concise revised documentation covering duplicate and comment removal in #110, committed it unchanged as 45aaaa42fe, and marked the issue closed in #112.
- After both commits, Stephen showed that simply appending recovery settings could retain incompatible or stale recovery targets across successive restores, renewing the case for shared parsing infrastructure, and Michael considered extracting guc-file.l functionality feasible #114 #115.
- The thread ends with the duplicate-handling fix and documentation landed, the proposed TAP suite omitted, and shared configuration-editing tools and recovery-target cleanup left for future work; the final messages introduce no further technical changes #71 #112 #114 #115 #116 #117.