model-writtenrun 4356 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Nathan Bossart proposed changing the sample stats_fetch_consistency value from none to cache in #1; Michael Paquier and Kyotaro Horiguchi confirmed the mismatch and also identified an inconsistent C initializer in #2 and #3.
- Andres Freund accepted Nathan's patch and suggested extending the existing GUC test to detect such mistakes in #4, then committed the sample-file correction unchanged as 98f897339b and announced it in #5.
- Kyotaro's initial investigation exposed apparent mismatches caused by units, platform defaults, initdb, and the test harness in #7, but his follow-up found no additional genuine inconsistency requiring correction in #8.
- Michael recommended comparing against pg_settings.boot_val while minimizing manual exceptions in #9; Justin Pryzby supplied an inline SQL prototype in #11, while Kyotaro preferred Perl and submitted a unit-aware test with explicit exceptions in #13.
- After Michael reiterated the outstanding initializer correction in #6, Andres changed pgstat_fetch_consistency to CACHE in 0107855b14 and confirmed it in #14; this discussion-derived follow-up removed a confusing inconsistency without changing behavior.
- Andres argued against duplicating backend conversion logic in Perl in #15, leading Kyotaro to replace it with a new SQL-callable normalization function and an SQL comparison in #17.
- Justin reported an uninitialized-variable warning in #18, and Michael challenged conversion to display units and unnecessary sample capitalization changes in #19; Kyotaro responded with conversion directly to boot_val's representation and also described a simpler alternative that skipped unit-bearing parameters in #20.
- Kyotaro fixed a further compiler warning in #22, then incorporated Andres's privilege, allocation, exception-handling, and diagnostic feedback from #23 into #24, including privilege tests and Perl-side comparison of normalized values.
- Justin reported Windows failures caused by platform-dependent defaults in #25, Michael objected to maintaining hardcoded exclusions in #26, and Andres proposed identifying these defaults with GUC flags in #27.
- After Kyotaro catalogued additional build-dependent defaults in #29, Justin supplied a DYNAMIC_DEFAULT prerequisite in #30, pairing it with Kyotaro's older normalization implementation from #17.
- Justin demonstrated that invalid enum input could expose an internal error through the normalization function in #31, then supplied an alternative SQL test using existing settings interfaces and the dynamic-default flag in #33.
- Kyotaro supported the alternative's direction but questioned its special-case comparisons in #34; Justin subsequently split the flag into compile-time and initdb categories in #37, making the distinction useful to Peter Smith's separate sanity-checker work described in #38.
- After another rebase in #39, Justin revised the test in #40 to compare boot values case-insensitively and remove an exception, eliminating the remaining sample-file capitalization change.
- Justin reported a CI configuration failure involving log_autovacuum_min_duration and posted #41, restoring Kyotaro's backend conversion helper and privilege tests while retaining both SQL and Perl test alternatives using the new flags.
- Following eight months without activity, vignesh C proposed closing the work in #42; Michael explained that the extra backend facilities, hardcoded exclusions, and platform-dependent behavior outweighed the benefit in #43.
- The two original consistency fixes remained committed, but the broader automated value-checking series was returned with feedback in #44, with renewed work left for a future commitfest entry.