Re: Asymmetric partition-wise JOIN

Поиск
Список
Период
Сортировка
От Andrey Lepikhov
Тема Re: Asymmetric partition-wise JOIN
Дата
Msg-id 5720b1a9-6ea0-a7e5-7577-dca615b40334@postgrespro.ru
обсуждение исходный текст
Ответ на Re: Asymmetric partition-wise JOIN  (Zhihong Yu <zyu@yugabyte.com>)
Ответы Re: Asymmetric partition-wise JOIN
Список pgsql-hackers
On 5/7/21 23:15, Zhihong Yu wrote:
> On Mon, Jul 5, 2021 at 2:57 AM Andrey Lepikhov 
> <a.lepikhov@postgrespro.ru <mailto:a.lepikhov@postgrespro.ru>> wrote:
> +            * Can't imagine situation when join relation already 
> exists. But in
> +            * the 'partition_join' regression test it happens.
> +            * It may be an indicator of possible problems.
> 
> Should a log be added in the above case ?
I worked more on this case and found more serious mistake. During 
population of additional paths on the existed RelOptInfo we can remove 
some previously generated paths that pointed from a higher-level list of 
subplans and it could cause to lost of subplan links. I prohibit such 
situation (you can read comments in the new version of the patch).
Also, choosing of a cheapest path after appendrel creation was added.
Unstable tests were fixed.

-- 
regards,
Andrey Lepikhov
Postgres Professional

Вложения

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

Предыдущее
От: "osumi.takamichi@fujitsu.com"
Дата:
Сообщение: RE: logical replication empty transactions
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Reduce lock level for ALTER TABLE ... ADD CHECK .. NOT VALID