model-writtenrun 985 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Fujii Masao reported corrupted pgbench output with multiple threads and --verbose-errors, proposing a local PQExpBufferData in place of the shared static buffer and backpatching through PostgreSQL 15 in #1.
- Michael Paquier confirmed the static buffer was inappropriate but questioned repeated allocation costs and suggested retaining a buffer per CState in #2.
- Alex Guo endorsed the local-buffer fix despite its potential performance tradeoff in #3.
- Chao Li argued that logging I/O should outweigh the extra allocation cost, supporting the simpler fix while suggesting per-thread TState storage if reuse became necessary in #4; Fujii agreed in #5.
- Fujii committed #1 with only whitespace differences as 61f8a85a57, backpatched through PostgreSQL 15, and confirmed completion in #6, leaving no outstanding patch work in the thread.