model-writtenrun 8151 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Markus Wanner reported that buffer growth could reject valid shared-memory queue payloads between roughly half a gigabyte and MaxAllocSize, and proposed capping allocation size plus asserting the payload limit in #1.
- Peter Eisentraut questioned whether an assertion was sufficient because the sender did not enforce the limit and Size values could exceed MaxAllocSize in #2.
- Markus Wanner acknowledged that the initial patch could allow a buffer overrun with assertions disabled, then replaced the assertion with a runtime error and added a sender-side check in #3.
- Peter Eisentraut committed the revised patch as 26ec6b5948, changing the error classification and polishing a comment; Michael Paquier subsequently confirmed the landing in #5.
- Peter Eisentraut confirmed backpatching in #6, and Markus Wanner closed the thread with thanks in #7, leaving no outstanding patch work.