On Fri, Sep 6, 2013 at 4:53 PM, Tom Lane <t...@sss.pgh.pa.us> wrote: > Kohei KaiGai <kai...@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 -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers