model-writtenrun 1150 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Greg Sabino Mullane proposed adding explanatory SQL comments to describeOneTableDetails() so users could understand the many catalog queries shown by psql's echo-hidden mode #1.
- David Christensen added a patch on top that identified the originating backslash command in each QUERY banner #2; after Jim Jones reported a discarded-const compiler warning #3, David fixed it and bundled both authors' patches into a rebased series #4.
- Peter Eisentraut pointed out that command names broke the alignment of the opening and closing banners #6; Greg suggested retaining a fixed closing width #7, but David implemented matching variable widths #8, which Greg accepted #9.
- With Greg's agreement, David squashed the series and introduced shared helpers for wrapping and aligning comments at a nominal width of 80 characters #10; Peter then identified lost translation support #11, which David restored #12.
- After months without progress, Tom Lane rebased and reformatted the patch, then reported terminal wrapping, incorrect treatment of translated display widths, repetitive banners, awkward global state, unclear helper behavior, and concerns about sending translated comments to the server #14.
- David agreed to pursue Tom's feedback #15, while Maiquel Grassi subsequently proposed calculating banner widths from description lengths #16; the eventual implementation abandoned calculated widths.
- Greg revived the work in March 2026 with a substantially simpler patch covering queries throughout describe.c, dropping the formatting helpers and command-name tracking while deliberately retaining comments in both echo-hidden output and server logs for identification and maintainability #17.
- Tom endorsed the simpler approach, supplied a complete two-patch revision that filled missing labels and covered function/view inspection queries, and changed generated-query banners to INTERNAL QUERY so they differed from logged user queries #18.
- Greg accepted the revised approach but preferred relation over table where sequences or views could be involved #19; Tom initially expressed a weak preference for table and invited further opinions #20.
- Tom ultimately adopted a context-dependent mix of relation and table, made light wording and formatting edits to #18, and committed the complete series as 41d69e6dcc, crediting Greg as author and David as co-author.
- Tom's final message confirmed the terminology decision and successful commit, closing the thread with the simplified labeling feature landed and no outstanding patch series #21.