model-writtenrun 9634 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Simon Riggs proposed increasing pgbench's small argument limit to 255 and changing what he believed was an off-by-one diagnostic, arguing that the additional array storage was inexpensive #1.
- Fabien COELHO tested the patch, found three TAP failures and requested documentation of the limit #2; Simon added documentation and updated the SQL test while choosing MAX_ARGS = 256 because its roughly 2 kB overhead was acceptable #3.
- Dagfinn Ilmari Mannsåker proposed generating the repetitive SQL test arguments with Perl's repetition operator #4; Andres Freund suggested dynamic allocation #5, but Simon preferred the small constant adjustment #6, Tom Lane supported that scope #7, and Andres accepted it while leaving dynamic allocation as a future improvement #8.
- David Rowley established that argv[0] stores the SQL statement, so MAX_ARGS = 256 permits only 255 variables and the original MAX_ARGS - 1 diagnostic was correct; he requested consistent documentation, tests and explanatory comments #9.
- Dagfinn supplied the revised patch with those corrections, explained the equivalent reserved slot for backslash commands, simplified both argument-limit tests and manually verified that 255 arguments succeeded #10; David then marked it ready for a committer #11.
- Andrew Dunstan committed Dagfinn's revision as a478415281, with only documentation wording and shell-test edits, and announced completion #12; after Dagfinn noticed the missing push #13, Andrew confirmed it was pushed, leaving the proposed limit increase fully landed #14.