model-writtenrun 2056 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Peter requested a glossary definition of 'statement' because statement_timestamp() can cover multiple SQL statements; Laurenz Albe considered SQL statement sufficiently defined and initially proposed removing the confusing parenthetical explanation #1 #2.
- Tom Lane instead proposed consistent use of 'statement', and Laurenz suggested 'protocol message' to distinguish client communication from SQL statements; Tom incorporated both ideas into the first patch #3 #4 #6.
- David G. Johnston objected to protocol details in the SQL function documentation and proposed explaining multi-statement behavior in the protocol chapter, while Laurenz accepted the patch and cautioned against adding distracting examples or SPI details #7 #8.
- Peter proposed describing the function entirely in terms of client-message receipt, and David suggested distinguishing commands from statements; Tom rejected a general glossary distinction because existing usage was inconsistent and preferred a self-contained explanation tied to receiving client commands #9 #11 #13.
- David questioned whether transaction timestamps advance across transactions inside one Query message, and Tom explained that new transactions copy the statement timestamp; the revised patch added this behavior and its previously-started-transaction exception to the protocol chapter, while omitting an explicit implementation explanation from the function documentation #12 #14 #15 #16.
- David approved the new protocol paragraph but disputed the remaining parenthetical wording; Tom proposed restoring 'command message', which David accepted and Laurenz endorsed despite preferring 'protocol message' #17 #18 #19 #20.
- Tom committed the revised patch with the agreed 'command message' wording and minor prose edits as 8ffd9ac3b2, with backpatching through PostgreSQL 13, and confirmed completion in the final message; the documentation clarification landed without a glossary entry #16 #21.