Re: temporary tables, plpgsql and yes i bet this has been asked

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Jan Wieck <janwieck(at)yahoo(dot)com>, Murray Prior Hobbs <murray(at)efone(dot)com>, pgsql-sql(at)postgresql(dot)org
Subject: Re: temporary tables, plpgsql and yes i bet this has been asked
Date: 2002-02-04 20:27:06
Message-ID: 200202042027.g14KR6n07132@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Tom Lane wrote:
> Jan Wieck <janwieck(at)yahoo(dot)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?

If we do, I don't see it. Care to give me one? I am not sure how to
word it.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2002-02-04 20:39:20 Re: temporary tables, plpgsql and yes i bet this has been asked
Previous Message Tom Lane 2002-02-04 20:25:55 Re: temporary tables, plpgsql and yes i bet this has been asked