Re: Removing unneeded self joins

Поиск
Список
Период
Сортировка
От Alexander Korotkov
Тема Re: Removing unneeded self joins
Дата
Msg-id CAPpHfdtTxSs+t8PXjJ_EC5roaQRLPyxt71M=AJvrGjYFC-wK5g@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Removing unneeded self joins  (Ranier Vilela <ranier.vf@gmail.com>)
Ответы Re: Removing unneeded self joins
Список pgsql-hackers
Hi all,

I've got an off-list bug report from Alexander Lakhin involving a
placeholder variable.  Alena and Andrei proposed a fix.  It is fairly
simple: we just shouldn't remove PHVs during self-join elimination, as
they might still be referenced from other parts of a query.  The patch
is attached.  I'm going to fix this if no objections.

------
Regards,
Alexander Korotkov
Supabase

Вложения

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