Re: Making Vars outer-join aware

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Making Vars outer-join aware
Дата
Msg-id 3197069.1683202924@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Making Vars outer-join aware  ("Anton A. Melnikov" <aamelnikov@inbox.ru>)
Ответы Re: Making Vars outer-join aware  ("Anton A. Melnikov" <aamelnikov@inbox.ru>)
Список pgsql-hackers
"Anton A. Melnikov" <aamelnikov@inbox.ru> writes:
> The thing is that for custom scan nodes as readme says:
> "INDEX_VAR is abused to signify references to columns of a custom scan tuple type"
> But INDEX_VAR has a negative value, so it can not be used in varnullingrels bitmapset.
> And therefore this improvement seems will not work with custom scan nodes and some
> extensions that use such nodes.

Under what circumstances would you be trying to inject INDEX_VAR
into a nullingrel set?  Only outer-join relids should ever appear there.
AFAICS the change you propose would serve only to mask bugs.

            regards, tom lane



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

Предыдущее
От: Daniel Gustafsson
Дата:
Сообщение: Re: evtcache: EventTriggerCache vs Event Trigger Cache
Следующее
От: Tom Lane
Дата:
Сообщение: Re: PL/Python: Fix return in the middle of PG_TRY() block.