Re: [PATCH] Fix disabled_nodes propagation for single-child Append paths

Поиск
Список
Период
Сортировка
Искать

Re: [PATCH] Fix disabled_nodes propagation for single-child Append paths

От:
Richard Guo <guofenglinux@gmail.com>
Дата:
On Fri, Aug 28, 2026 at 2:02 PM David Rowley  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).

- Richard


Re: [PATCH] Fix disabled_nodes propagation for single-child Append paths

От:
Tender Wang <tndrwang@gmail.com>
Дата:
Richard Guo  于2026年8月28日周五 14:30写道:
>
> On Fri, Aug 28, 2026 at 2:02 PM David Rowley  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


FAQ