Re: call the same pl/pgsql procedure twice in the same connection - Mailing list pgsql-sql

From Jan Wieck
Subject Re: call the same pl/pgsql procedure twice in the same connection
Date
Msg-id 200204181643.g3IGhUw14564@saturn.janwieck.net
Whole thread Raw
In response to Re: call the same pl/pgsql procedure twice in the same connection  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: call the same pl/pgsql procedure twice in the same connection  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: call the same pl/pgsql procedure twice in the same connection  (Richard Huxton <richardh@archonet.com>)
List pgsql-sql
Bruce Momjian wrote:
>
> Jan, instead of doing cache invalidation to fix temporary tables, can we
> disable cached plans for functions that use temporary tables?
   I  was  thinking  of  a different approach. Enhancing the SPI   manager to detect if a plan uses  temporary  objects
and  to   remember  the  original  querystring  in the SPI_plan. Having   callbacks when temp object  beeing  destroyed
into  the  SPI   manager,  causing  it to reparse and plan on the next call to   SPI_execp() would do it for everything
thatuses SPI.
 


Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#================================================== JanWieck@Yahoo.com #




pgsql-sql by date:

Previous
From: Dav Coleman
Date:
Subject: Re: SQL Query Optimization
Next
From: "Josh Berkus"
Date:
Subject: Re: SQL Holiday Calculations