model-writtenrun 2567 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Dmitry Koval reported that EvalPlanQualFetchRowMark dereferenced earm before asserting that it was non-null and supplied a patch moving the assignment below the assertions in #1.
- Daniel Gustafsson agreed that the ordering defeated the assertion and tentatively supported the patch, while also suggesting removal of the assertion as an alternative in #2.
- Michael Paquier distinguished checking the pointer invariant from accessing its member, examined the assertion's introduction, and supported retaining the assertion with the proposed ordering in #3.
- Daniel Gustafsson committed the patch from #1 without code changes as 9fcd360498, crediting Dmitry as author and Daniel and Michael as reviewers.
- Daniel announced that the fix had landed and been backpatched through PostgreSQL 13 in #4, leaving no outstanding work in the thread.