model-writtenrun 2569 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Lingbin Meng reported a PostgreSQL 17.2 crash with partitionwise joins enabled in #1, and Tender Wang reproduced it on HEAD with a single hash partition in #4.
- Tender Wang traced the crash to freeing bitmapsets still referenced by the parent SpecialJoinInfo and proposed deep-copying the structure in #5, then corrected an allocation leak in #6.
- Ashutosh Bapat questioned why bitmapset translation had not occurred in #7; Tender confirmed that no matching relation needed translation in #8, and Richard Guo explained the legitimate semijoin ordering case in #11.
- Amit Langote proposed making adjust_child_relids() always copy its input in #12, but Richard Guo rejected the extra allocation overhead and supplied #13, which preserves shared bitmapsets and frees only translated copies.
- Ashutosh Bapat raised maintenance concerns about requiring the parent structure during cleanup in #14, while Tender Wang favored isolation through copying in #15; Amit defended the explicit parent parameter and a narrowly scoped fix in #16, and Ashutosh accepted that scope in #17.
- Amit Langote endorsed Richard's patch for commit in #18, and Richard committed #13 unchanged as c39392ebae.
- Richard announced the push and PostgreSQL 17 backpatch in #20, identifying 17.5 as the expected release; the thread closed with acknowledgments in #21 and #22, with no further patch work outstanding.