model-writtenrun 7510 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Tom Lane proposed mandatory incoming-message length limits and validation of message types before reading their bodies in #1, after a broken client caused the server to wait for nonexistent data; he favored PostgreSQL 14 without backpatching because tighter limits might reject legitimate traffic.
- Aleksander Alekseev reported difficulty applying the patch and supported introducing the checks in the next major release, with beta feedback guiding any adjustment, in #2.
- Tom confirmed clean application and reported that check-world passed with a small-message limit as low as 16 bytes in #3, leading him to favor a conservative 10000-byte limit instead of 30000.
- Aleksander resolved his application problem as a platform line-ending issue and reported successful installcheck-world testing on macOS in #4.
- Tom committed #1 as 9626325da5, lowering the small-message limit to 10000 and setting the large-message limit to MaxAllocSize - 1 to fit the receiving buffer, then confirmed the push in #5; no further work remained in the thread.