model-writtenrun 9351 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Vladimir Kriukov reported an EXISTS query returning 999991 rows instead of 100000 under Parallel Hash Join, with a reproducer affecting PostgreSQL 11.3 and 12 beta 1 #1.
- Thomas Munro reproduced the failure and traced it to JOIN_UNIQUE_INNER using a partial inner plan without guaranteeing uniqueness; he supplied an inline guard and noted that an equivalent join condition or disabling parallel hash avoided the bad plan #2 #5.
- Thomas posted the guard with an explanatory comment and commit message in #6; Tom Lane requested that the partial-path check precede the join-type check, and Thomas incorporated that ordering in #7 #8.
- The revised attachment in #8 matches aca127c105 exactly, implementing the planner restriction with a backpatch to PostgreSQL 11.
- Tom Lane cleared pushing the fix during release preparation, and Thomas confirmed completion while explaining that it would miss the imminent 11.4 release unless a re-wrap occurred; users could apply the suggested query or configuration workarounds until the next regular release #9 #10.