Thread: SPI functions to work with the Execution Plan

SPI functions to work with the Execution Plan

From
Osmel Barreras Piñera
Date:
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? 


Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS
EEUU!
http://www.antiterroristas.cu
http://justiciaparaloscinco.wordpress.com

Re: SPI functions to work with the Execution Plan

From
Tom Lane
Date:
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