model-writtenrun 906 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Ayush Tiwari reported that a dump file containing a stash name of at least 64 bytes caused an assertion failure and repeated crash recovery, while SQL callers already enforced the length limit #1.
- Ayush supplied a patch that rejected overlong names as corrupted dump-file input and added a TAP test checking that the cluster started successfully and logged the error #1.
- Robert Haas committed a simplified version as 878839bafe, retaining the length check but shortening the explanatory text and dropping the test because it assumed a particular NAMEDATALEN and covered an unlikely corruption scenario #2.
- After the fix landed, Ayush questioned why pg_set_stashed_advice silently returned NULL for a NULL stash name or query ID and pointed out that its header comment identified the wrong argument as controlling deletion #3.
- Robert confirmed that the NULL handling intentionally emulated STRICT behavior for the first two arguments and agreed that the comment should refer to the third argument; the crash fix was committed, but no comment-fix patch or landing was shown before the thread ended #4.