model-writtenrun 6277 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Alexander Lakhin reported that dropping a role while its procedures or functions were concurrently dropped could crash in storeObjectDescription(), supplying a backtrace showing pfree(NULL) and a reproduction script #1.
- Alvaro Herrera identified two callers that failed to handle NULL from getObjectDescription() and posted guards to skip vanished objects in dependency.c and pg_shdepend.c #2.
- Alexander found another unchecked description in dependency.c's DROP_RESTRICT branch and recommended guarding it too, although he had not reproduced a failure there #3.
- Alvaro committed the original two guards plus the additional DROP_RESTRICT protection as d74b54b3dd, extending the patch from #2 to address Alexander's review #3.
- Alvaro confirmed that he had incorporated the additional fix and pushed it to all branches, closing the thread with no outstanding work stated #4.