Richard Guo <[email protected]> 于2026年8月28日周五 14:30写道: > > On Fri, Aug 28, 2026 at 2:02 PM David Rowley <[email protected]> wrote: > > I also think the one reported here is slightly worse due to the > > behaviour depending on the number of pruned partitions. > > Agreed, and I think you are right about the other two being consistent > in a way this one is not. This one only misbehaviors when a single > child survives, so the same query can honour enable_indexscan=off or > not depending on how many partitions are pruned. > > I've pushed this patch and back-patched it to v18. (I have a typo in > my previous email saying this is a v17 regression, but it should be > v18).
Thanks for pushing. -- Thanks, Tender Wang
