model-writtenrun 1115 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
Dec 2025 - Apr 2026 ยท 23 entries
- Gyan Sreejith proposed --logdir to separate pg_createsubscriber diagnostics, standby-server output, and pg_resetwal output into three files, with an initial implementation and tests in #1.
- Peter Smith requested documentation and questioned coupling log splitting to the destination option in #2; Gyan added the documentation in #4.
- Hayato Kuroda proposed pg_upgrade-style timestamped directories and automatic cleanup in #5, while Vignesh defended a configurable location outside PGDATA to avoid backup complications in #7.
- Euler Taveira questioned whether shell redirection already sufficed in #8, but Amit Kapila argued that separating server output from setup diagnostics made troubleshooting easier in #9.
- Vignesh identified inconsistent permissions, weak directory-error handling, and repeated file opening in #11; Amit proposed combining pg_resetwal output with the server log and capturing verbose messages in #12, leaving a further publisher/subscriber split aside.
- Gyan's redesign in #14 introduced persistent file logging, wrappers, restrictive permissions, and two output files; timestamp placement then moved through filename suffixes in #16 before reaching timestamped subdirectories in #27.
- Vignesh's reviews in #18 and #21 led to flushing and error-handling fixes, fatal-message capture, renamed logging wrappers, and reuse of an existing TAP scenario across #19, #22, and #24.
- Euler's detailed review in #25 prompted timestamp, directory-helper, diagnostic, and path-length changes in #27; moving duplicated syslogger code into common infrastructure was deferred, and Amit rejected output markers as an adequate replacement for separate logs in #26.
- After Vignesh requested log-level filtering and stronger tests in #28, Shveta found option-order-dependent output in #30, and Hayato identified the bypassed log-level check in #32.
- Shlok Kyal supplied a corrective delta with warning logging, level filtering, delayed initialization, and content assertions in #33; Gyan consolidated it without further code changes in #34.
- Hayato supplied another fix-up in #35, but Shveta found a missing argument and an unallocated logdir pointer in #36; Amit then requested a single reporting function instead of repeated macro overrides in #37.
- Hayato reorganized the work into reporting infrastructure, the feature, and review fixes in #38, then corrected va_list reuse, fatal-message routing, path quoting, and temporary-directory handling in #39.
- Nisha Moond's testing and review in #41 led to memory cleanup and removal of unreachable error handling in #43, while Hayato changed enabled messages to appear in both stderr and the log file in #42.
- After Amit requested report_createsub_* names in #44 and Shveta approved the resulting infrastructure in #46, Amit landed the first patch of #45 unchanged as d6628a5ea0, leaving the logdir feature for further review.
- Chao Li, Hayato, and Shveta reviewed the remaining feature's errno handling, missing prefixes, cleanup, and permissions in #47, #49, and #50; Gyan posted the remainder with several fixes in #51.
- Chao verified that %m worked and identified unsafe close-error reporting and incomplete success-path cleanup in #52 and #53; Hayato argued for relying on process-exit stream cleanup and declined an extra log-path announcement in #55 and #56.
- Amit requested PGDATA-compatible log permissions in #54, and Hayato supplied a patch adding those permissions and message prefixes while removing redundant buffering and stream-closing code in #57.
- Gyan merged that corrective patch and Peter Smith's filename and diagnostic suggestions from #59 into #60; Amit landed it as 6b5b7eae3a with permission fallback and validation-order changes, revised documentation, and removal of the fixed-permission test.
- Peter Eisentraut reopened the implementation design in #63, proposing shared logging.c file support, replacement of the local reporting layer, removal of logfile_open(), and dynamic allocation of logdir.
- Amit questioned routing flexibility and removal of MAXPGPATH in #64, while Hayato questioned reuse of the common API in #65; Peter explained runtime logfile switching and dynamic path allocation in #66, and Amit accepted proceeding in #68.
- Peter landed the first two patches of #63 unchanged as 41237556f8 and 847336ba53, replacing the local logging layer while retaining --logdir and avoiding its caller duplication and missed translation updates.
- Peter also landed the remaining simplifications from #63 unchanged as f5528b90b4 and 99b726ac48, removing the logfile-opening wrapper and fixed-size logdir buffer.
- Peter confirmed all four follow-up patches were committed in #69 and deferred adopting the frontend logging API in pg_upgrade as a larger project; the final response in #70 noted that feature freeze made that extension uncertain for PG19.