Re: pgsql: Fix some issues with step generation in partition pruning.

Поиск
Список
Период
Сортировка
От Etsuro Fujita
Тема Re: pgsql: Fix some issues with step generation in partition pruning.
Дата
Msg-id CAPmGK15=c8Q-Ac3ogzZp_d6VsfRYSL2tD8zLwy_WYdrMXQhiCQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pgsql: Fix some issues with step generation in partition pruning.  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pgsql: Fix some issues with step generation in partition pruning.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-committers
On Sat, Aug 1, 2020 at 11:13 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Thomas Munro <thomas.munro@gmail.com> writes:
> > Hi Fujita-san
> > I wonder if this build farm failure is related?

Thanks for letting me know!

> Sure looks that way, doesn't it?  I'm just now working to reproduce
> on gaur's host and poke into it with a debugger.  More news in an
> hour or two (it's slow :-().

Thanks for that!

I'm not sure this is related to that failure, but self-reviewing the
patch, one thing I noticed I missed is that get_steps_using_prefix()
assumes that clauses in the passed-in prefix list are sorted in an
ascending order of partkeyidx, but the caller (ie,
gen_prune_steps_from_opexps()) doesn't take that into account.  I
might have broken something.  I'm a bit tired today, so I'll look at
this more closely tomorrow.

Best regards,
Etsuro Fujita



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Fix some issues with step generation in partition pruning.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Fix some issues with step generation in partition pruning.