model-writtenrun 9273 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Tom Lane opened the thread by arguing that SPITupleTable should expose its valid-row count so callers need not retain the separate SPI_processed variable #1.
- Tom's patch replaced the private free-entry count with public numvals, simplified expandable-array bookkeeping, and updated the documentation example; he found no compelling immediate conversions among existing callers #1.
- The initial patch #1 landed unchanged on July 18, 2019 as bc8393cf27.
- After the commit, Daniel Gustafsson agreed with the change and supplied a follow-up converting contrib/xml2/xpath.c to numvals, while questioning whether the deprecated module warranted the change #2.
- The thread ends with the public row-count change committed and Daniel's optional xml2 follow-up posted without a recorded disposition #2.