model-writtenrun 8287 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Andrew Gierth reported a partition-wise join crash using a reproducer derived from Arne Roland’s IRC report: a bitmap index condition beneath BitmapAnd retained a Var instead of the required Param #1.
- Tom Lane traced the failure to missing parameterization information on BitmapAnd/Or paths, which caused reparameterize_path_by_child() to skip their children; he considered either populating that information or special-casing traversal, and highlighted missing test coverage #2.
- Andrew Gierth suggested potentially using the traversal workaround in stable branches and the cleaner parameterization fix in development, while discussing whether bitmap subpaths needed adjustment when increasing parameterization; this discussion preceded the patch and does not establish patch-review coverage #3.
- Tom Lane instead made the bitmap constructors compute parameterization from their children without changing function signatures, removed redundant bitmap-tree traversal, and explained why subset parameterization remained valid; his attached patch still lacked regression tests at the thread’s last message #4.
- Tom Lane subsequently committed that patch with bitmap AND/OR regression tests and removal of unnecessary reparameterization cases in 689696c711, with backpatching through PostgreSQL 11.