model-writtenrun 4753 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Nitin Jadhav reported that 003_check_guc.pl could not correctly cross-check NO_SHOW_ALL parameters against postgresql.conf.sample because pg_settings omits them, and Justin Pryzby confirmed the filtering behavior #1 #2.
- Nitin outlined alternatives involving a new listing function, counts, per-parameter checks, or manual exceptions; Michael Paquier favored a separate privileged listing function because of visibility handling, diagnostic quality, and query costs #3 #4.
- After discussing a boolean argument and completing a related refactor in another thread, Nitin submitted an extension of pg_show_all_settings() that let the TAP test request hidden parameters #5 #6.
- Justin pointed out that existing no-argument calls must remain valid, while Tom Lane proposed avoiding the SQL-interface change entirely by requiring NO_SHOW_ALL parameters to also carry NOT_IN_SAMPLE during initialization #7 #8.
- Michael implemented Tom's policy in check_GUC_init() and removed two ineffective SQL checks, also observing that existing compatibility parameters disproved the supposed NO_SHOW_ALL-to-NO_RESET_ALL relationship #9.
- Nitin questioned the flag restrictions and the division between C and SQL checks; Michael explained the compatibility and visibility concerns, and Tom explained that initialization checks cover extension GUCs while moving every check there would impose undesirable startup overhead #10 #11 #13 #14.
- Nitin adopted Michael's implementation and refined the SQL tests by removing the misleading no_show_all column and simplifying the remaining NO_RESET_ALL query #15.
- Michael committed the initialization-check portion of that revision with comment polishing as 009f8d1714, then proposed deleting the remaining related SQL query because externally loaded GUCs could change its results #16.
- The same submission added a separate proposal to require DISALLOW_IN_FILE parameters to carry NOT_IN_SAMPLE, adding the missing flag to config_file and testing the relationship in SQL #16.
- Michael committed the exact SQL-cleanup patch from that series as b7e84c65d5, credited Nitin as author, backpatched the cleanup to PostgreSQL 15, and resent only the uncommitted DISALLOW_IN_FILE proposal #17.
- Nitin approved the remaining proposal and Justin supported adding the config_file flag, but Tom questioned the implications for --describe-config; Michael explained that DISALLOW_IN_FILE already hides config_file from that output #18 #20 #21 #22.
- Kyotaro Horiguchi questioned whether --describe-config should expose NOT_IN_SAMPLE parameters, then accepted the existing behavior after Michael explained the treatment of developer settings #23 #24 #25.
- Heikki Linnakangas closed the commitfest entry as committed because the original fixes had landed and enthusiasm for the additional DISALLOW_IN_FILE restriction was limited; that remaining proposal had not landed by the thread's last message #26.