Re: pgsql: Avoid mislabeling of lateral references when pulling up a subque

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql: Avoid mislabeling of lateral references when pulling up a subque
Дата
Msg-id 397371.1732844670@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgsql: Avoid mislabeling of lateral references when pulling up a subque  (Richard Guo <guofenglinux@gmail.com>)
Список pgsql-committers
Richard Guo <guofenglinux@gmail.com> writes:
> On Fri, Nov 29, 2024 at 7:33 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> It seems to be sufficient to just not mark lateral
>> references at all in this case.  (I have a nagging feeling that more
>> complexity may be needed in cases where there are several levels of
>> outer join, but some attempts to break it with that didn't succeed.)

> You're right about your feeling.  Here is a query that breaks it.

Ah, thanks for the test case.  I'll look into it tomorrow.

            regards, tom lane



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