Re: Inconsistent nullingrels due to oversight in deconstruct_distribute_oj_quals

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Inconsistent nullingrels due to oversight in deconstruct_distribute_oj_quals
Дата
Msg-id 3911446.1675960124@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Inconsistent nullingrels due to oversight in deconstruct_distribute_oj_quals  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
I wrote:
> Richard Guo <guofenglinux@gmail.com> writes:
>> It seems to me there is oversight here.  Actually in next level up this
>> othersj would null all the relids in its syn_righthand, not only the
>> relids in its min_righthand.

> Good point.  I think this code originated before it was clear to me
> that nullingrels would need to follow the syntactic structure.

Although ... the entire point here is that we're trying to build quals
that don't match the original syntactic structure.  I'm worried that
distribute_qual_to_rels will do the wrong thing (put the qual at the
wrong level) if we add more nullingrel bits than we meant to.  This
might be less trivial than it appears.

            regards, tom lane



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Weird failure with latches in curculio on v15
Следующее
От: Himanshu Upadhyaya
Дата:
Сообщение: Re: HOT chain validation in verify_heapam()