model-writtenrun 7825 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Tsunakawa, Takayuki reported that the shared-memory TOC calculation allocated excessive memory by adding add_size() results to an argument already included in those results #1.
- The attached patch replaced two compound additions with assignments in shm_toc_estimate(), preserving the existing overflow-checked arithmetic #1.
- Fujii Masao responded that the patch looked good, without requesting changes #2.
- Fujii Masao committed the patch unchanged as 2ad78a87f0, whose commit message identifies PostgreSQL 11 as the version where the bug was introduced.
- Fujii Masao confirmed that the fix had been pushed and backpatched through PostgreSQL 11, leaving no outstanding work in the thread #3.