Tom Lane wrote:
> Jan Wieck <janwieck@yahoo.com> writes:
> > SPI still needs to learn how to determine if a query uses
> > temp tables somewhere in order to silently re-prepare queries
> > when required. And I am absolutely sure this is not an issue
> > we should address in PL/pgSQL. It has to be solved on the SPI
> > level.
>
> Temp tables are the wrong way to think about it. *Any* invalidation
> of schema data referred to in a query plan should cause replanning.
> We have a TODO item covering this already, don't we?
Of course, still. Nothing changed on that since we discussed it the last time ;-P
Jan
--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck@Yahoo.com #
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com