model-writtenrun 5638 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Justin Pryzby reported a pg_basebackup crash involving LZ4 compression, stdout and manifests, and supplied an inline fix that replaced a buffer-size assertion with dynamic enlargement in #1.
- Robert Haas explained that client input chunks have no guaranteed maximum size and recommended removing the constructor's misleading sizing logic while also handling buffer enlargement during finalization in #2.
- Dipesh Pandit agreed and submitted an attached patch implementing dynamic enlargement in both the content and finalize functions and removing the constructor-time sizing logic in #3.
- Robert Haas committed #3 without code changes as afb529e677, crediting Justin Pryzby for the report and Dipesh Pandit for the patch.
- Robert Haas confirmed the commit in #4, ending the thread with the submitted fix landed and no outstanding requests.