model-writtenrun 687 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Robert Haas reported that calling satisfies_hash_partition() with VARIADIC NULL crashed the server and said the longstanding bug required back-patching to all supported branches #1.
- Tender Wang suggested adding a fourth-argument NULL check, but Ewan Young explained that ordinary NULL partition keys must remain valid and submitted a variadic-only guard with a regression test #2 #3.
- Tender proposed moving the guard into variadic cache setup to avoid an additional variadic-status check; Ewan demonstrated that this left the cached execution path vulnerable and leaked an open relation, and Tender acknowledged both problems #4 #5 #6.
- Robert supplied a revision that confined the checks to the variadic paths, guarded both array fetches, and closed the relation before returning from cache setup #7.
- Tender endorsed Robert's revision, and Ewan tested it and confirmed that it worked #8 #9.
- Robert committed #7 unchanged apart from rebase offsets as 0c06ebf126 and closed the thread by confirming that the fix had been committed and back-patched, leaving no outstanding work identified #10.