Re: wrong query result due to wang plan

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: wrong query result due to wang plan
Дата
Msg-id 154091.1677087712@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: wrong query result due to wang plan  (Richard Guo <guofenglinux@gmail.com>)
Список pgsql-hackers
Richard Guo <guofenglinux@gmail.com> writes:
> I'm thinking that maybe we can do the strip-the-outer-joins work only
> when it's not the top JoinDomain.  When we are in the top JoinDomain, it
> seems to me that it's safe to push the qual to the top of the tree.

Yeah, because there's nothing to commute with.  Might as well do that
for consistency with the distribute_qual_to_rels behavior, although
I felt it was better to put it inside get_join_domain_min_rels.

Pushed, thanks for the report!

            regards, tom lane



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Allow tailoring of ICU locales with custom rules
Следующее
От: Jacob Champion
Дата:
Сообщение: Re: meson and sslfiles.mk in src/test/ssl/