model-writtenrun 1328 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
Nov 2021 · 2 entries
- Gilles Darold proposed an interactive psql password-expiration warning with an initially disabled threshold in #1, motivated by users discovering expiration only after login failed.
- Tom Lane argued that the server knows whether local password expiration is relevant and can notify every client, while also questioning an off-by-default feature in #3; Nathan Bossart and Andrew Dunstan supported server-side handling in #5 and #7, and Gilles agreed in #8.
Jan - Feb 2026 · 14 entries
- After more than four years, Gilles revived the proposal with #9, using a seven-day default and WARNING messages sent to clients and logs after successful connection initialization.
- Japin Li found mismatched GUC units and warning text freed by transaction cleanup, supplying fixes in #10; songjinzhou then demonstrated more detailed remaining-time messages in #11, but Gilles retained whole-day formatting while fixing the threshold comparison in #12.
- Review by songjinzhou and liu xiaohui led to documentation and comment corrections, while Japin replaced floating-point arithmetic and duplicate clock reads; these changes and infinity handling progressed through #16, #18, #19, and #21.
- Japin added a separate TAP patch in #22, Yuefei Shi requested localization in #23, and Steven Niu requested additional warning-boundary tests in #25; the resulting series gained disabled-warning, outside-threshold, and infinity cases by #27, which Japin approved in #28.
- Soumya S Murali reported authentication testing in #29, Euler Taveira requested proper plural translation in #30, and Zsolt Parragi raised memory lifetime, serialization, precision, and reminders for long-lived connections in #31.
- Gilles explained that this feature only warns at connection time and does not require the separate GoAway mechanism in #35, while Zsolt continued advocating periodic reminders in #37; periodic warnings were not included in the submitted implementation.
- Nathan requested a larger configurable range and more precise remaining time in #36; Gilles retained the enabled default but adopted INT_MAX, hours and minutes, and clearer serialization documentation in #40.
- Nathan took over preparation for commit in #41, renaming the setting to password_expiration_warning_threshold, introducing reusable warning queues with long-lived message storage, and merging rewritten tests into the existing authentication test file.
- Gilles challenged the long parameter name and minute-based units in #42; Nathan defended the explicit name but accepted seconds in #43, incorporating that decision and Zsolt's textual corrections into #45.
- Nathan retained warning emission at the end of initialization to avoid revealing information before a later connection failure, then added the physical-replication path in #46 so every password-authenticated backend could receive warnings.
- Peter Eisentraut identified translation and duration-type problems in #48, and Jacob Champion and Euler reiterated ngettext() in #52 and #54; Nathan adopted largest-unit pluralized messages in #55, which Euler tested successfully in #56.
- Chao Li questioned threshold limits, memory ownership, and the exact expiration boundary in #57; Greg Sabino Mullane defended broad configuration ranges in #58, and Nathan retained the existing choices and documented caller ownership in #59.
- After Zsolt approved the patch in #61, Nathan posted #63, moving warning queues out of Port into private postinit.c state and simplifying their cleanup.
- Nathan committed 1d92e0c2cc from #63 with an additional unsigned timestamp-difference calculation and direct expiration comparison, plus a comment correction; his announcement in #65 closes the thread with the submitted feature landed.