model-writtenrun 3344 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Aleksander Alekseev proposed replacing three literal MERGE array bounds with NUM_MERGE_MATCH_KINDS, initially represented by a trailing enum count #1.
- Richard Guo endorsed the cleanup after checking for other affected arrays #2, while Dean Rasheed recommended a macro based on the last real enumerator to avoid switch warnings and follow existing conventions #3; Aleksander adopted that definition #4.
- Dean committed the revised MERGE patch as 2e068db56e, with only whitespace differences, and announced its completion #5.
- Aleksander then proposed a separate consistency cleanup replacing count enumerators with macros in pg_stat_statements, autovacuum, pg_dump, pmsignal.h, and procsignal.h #6.
- Michael Paquier supported those conversions but considered them v18 material #7; Dean preferred macros while noting that growing enums could make manually maintained macro counts easier to overlook, and confirmed scheduling the patch for the next commitfest #8.
- Peter Eisentraut supported the cleanup but requested retaining trailing commas on the last enum items #9, which Aleksander restored in the revised patch #10.
- Peter committed that revision as 10b721821d, with only whitespace and base-context differences, and announced completion in the final message #11, leaving both proposed changes landed.