Re: [HACKERS] Possible problem in Custom Scan API

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] Possible problem in Custom Scan API
Дата
Msg-id 20021.1491933424@sss.pgh.pa.us
обсуждение исходный текст
Ответ на [HACKERS] Possible problem in Custom Scan API  (Dmitry Ivanov <d.ivanov@postgrespro.ru>)
Ответы Re: [HACKERS] Possible problem in Custom Scan API
Список pgsql-hackers
Dmitry Ivanov <d.ivanov@postgrespro.ru> writes:
> In theory, CustomScans should be able to use any Plan nodes (i.e. 
> 'custom_plans' list), but as far as I can understand, there's no way to 
> override behavior of use_physical_tlist(), which means that we might see 
> something like this:

> ERROR:  variable not found in subplan target list

> if we use child IndexOnlyScan and the index does not include some of the 
> relation's columns.

Uh, why would you see that?  The planner would never generate an
IndexOnlyScan in the first place if the query required any columns
not available from the index.
        regards, tom lane



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

Предыдущее
От: Andrew Borodin
Дата:
Сообщение: Re: [HACKERS] Merge join for GiST
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: [HACKERS] GCC 7 warnings