Re: Assert !bms_overlap(joinrel->relids, required_outer)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Assert !bms_overlap(joinrel->relids, required_outer)
Дата
Msg-id 1562681.1688055409@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Assert !bms_overlap(joinrel->relids, required_outer)  (Richard Guo <guofenglinux@gmail.com>)
Ответы Re: Assert !bms_overlap(joinrel->relids, required_outer)  (Richard Guo <guofenglinux@gmail.com>)
Список pgsql-hackers
Richard Guo <guofenglinux@gmail.com> writes:
> BTW, it seems that extra->sjinfo would always have a valid value here.
> So maybe we do not need to check if it is not NULL explicitly?

Right, I was being conservative but this module expects that to
always be provided.

Pushed with that and defenses added to try_mergejoin_path and
try_hashjoin_path.  It looks like the various try_partial_xxx_path
functions already reject cases that could be problematic.  (They
will not accept inner parameterization that would lead to the
result being parameterized differently from the outer path.
By induction, that should be fine.)

            regards, tom lane



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

Предыдущее
От: vignesh C
Дата:
Сообщение: Re: pg_decode_message vs skip_empty_xacts and xact_wrote_changes
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Assert !bms_overlap(joinrel->relids, required_outer)