Re: Custom Plan node

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Custom Plan node
Дата
Msg-id CA+TgmoYZ5PQhOxk+bH35kxTNnF8Q88BYfWN4EBPpqyt1UyLNBw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Custom Plan node  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Custom Plan node  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Fri, Sep 6, 2013 at 4:53 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Kohei KaiGai <kaigai@kaigai.gr.jp> writes:
>> The attached patch adds a new plan node type; CustomPlan that enables
>> extensions to get control during query execution, via registered callbacks.
>
> TBH, I think this is really an exercise in building useless mechanism.
> I don't believe that any actually *interesting* new types of plan node can
> be inserted into a query plan without invasive changes to the planner, and
> so it's a bit pointless to set up hooks whereby you can avoid touching any
> source code in the executor.

I find this a somewhat depressing response.  Didn't we discuss this
exact design at the developer meeting in Ottawa?  I thought it sounded
reasonable to you then, or at least I don't remember you panning it.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: [RFC] Extend namespace of valid guc names
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Custom Plan node