Do CustomScan as not projection capable node

Поиск
Список
Период
Сортировка
От Andrey Lepikhov
Тема Do CustomScan as not projection capable node
Дата
Msg-id 0ab0d931-f7b0-d2bc-3089-1954cc21259e@postgrespro.ru
обсуждение исходный текст
Ответы Re: Do CustomScan as not projection capable node  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Can we include the CustomScan node in the list of nodes that do not 
support projection?
Reason is that custom node can contain quite arbitrary logic that does 
not guarantee projection support.
Secondly. If planner does not need a separate Result node, it just 
assign tlist to subplan (i.e. changes targetlist of custom node) and 
does not change the custom_scan_tlist.
Perhaps I do not fully understand the logic of using the 
custom_scan_tlist field. But if into the PlanCustomPath() routine our 
custom node does not build own custom_scan_tlist (may be it will use 
tlist as base for custom_scan_tlist) we will get errors in the 
set_customscan_references() call.

-- 
Andrey Lepikhov
Postgres Professional
https://postgrespro.com
The Russian Postgres Company

Вложения

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

Предыдущее
От: Amit Langote
Дата:
Сообщение: Re: bug in update tuple routing with foreign partitions
Следующее
От: Asim R P
Дата:
Сообщение: Re: standby recovery fails (tablespace related) (tentative patch and discussion)