Re: pgsql: Support partition pruning at execution time

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: pgsql: Support partition pruning at execution time
Дата
Msg-id CAKJS1f_FGGb0mBNd49r-oNG9oKmMk2rahxpc9k0L=Jor5SNmeQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pgsql: Support partition pruning at execution time  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Список pgsql-committers
On 18 April 2018 at 07:26, Alvaro Herrera <alvherre@alvh.no-ip.org> wrote:
> David Rowley wrote:
>
>> I've made another pass over the nodeAppend.c code and I'm unable to
>> see what might cause this, although I did discover a bug where
>> first_partial_plan is not set taking into account that some subplans
>> may have been pruned away during executor init. The only thing I think
>> this would cause is for parallel workers to not properly help out with
>> some partial plans if some earlier subplans were pruned. I can see no
>> reason for this to have caused this particular issue since the
>> first_partial_plan would be 0 with and without the attached fix.
>
> Pushed this.

Thanks!

-- 
 David Rowley                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


В списке pgsql-committers по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Fix confusion on the padding of GIDs in on commit and abortreco
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Simplify genbki.pl's data quoting rules.