Re: SPI functions to work with the Execution Plan - Mailing list pgsql-general

From Tom Lane
Subject Re: SPI functions to work with the Execution Plan
Date
Msg-id 28482.1328507326@sss.pgh.pa.us
Whole thread Raw
In response to SPI functions to work with the Execution Plan  (Osmel Barreras Piñera <obarreras@estudiantes.uci.cu>)
List pgsql-general
Osmel Barreras =?utf-8?Q?Pi=C3=B1era?= <obarreras@estudiantes.uci.cu> writes:
> I need to develop for my diploma thesis an extension that allows me to travel the implementation plan once you pass
throughthe phase of planning and optimization. SPI functions that could be used to obtain and work with the plan? 

SPI is not meant to expose anything like that.  You could install a
planner_hook though, and look at the plan after calling standard_planner.

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: sql query bug???
Next
From: "Bob Pawley"
Date:
Subject: Triggering a function on table overwrite