Correction of RowMark Removal During Sel-Join Elimination

Поиск
Список
Период
Сортировка
От Andrei Lepikhov
Тема Correction of RowMark Removal During Sel-Join Elimination
Дата
Msg-id 18c6bd6c-6d2a-419a-b0da-dfedef34b585@gmail.com
обсуждение исходный текст
Список pgsql-hackers
Hi,

I've noticed that the code for sel-join elimination incorrectly removes 
RowMarks. Currently, this doesn't lead to any issues because the 
optimiser retains pointers to the simple_rte_array. A RowMark refers to 
an RTE entry that is the same for both the relations being kept and 
those being removed.

I believe it would be beneficial to address this issue now to prevent 
potential problems in the future. See the patch attached.

-- 
regards, Andrei Lepikhov

Вложения

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