Re: temporary tables, plpgsql and yes i bet this has been asked - Mailing list pgsql-sql

From Tom Lane
Subject Re: temporary tables, plpgsql and yes i bet this has been asked
Date
Msg-id 12068.1012855160@sss.pgh.pa.us
Whole thread Raw
In response to Re: temporary tables, plpgsql and yes i bet this has been asked  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-sql
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Tom Lane wrote:
>> 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?

Hmm, I don't see one either.  Odd, we've sure discussed it often enough.
How about

* Flush cached query plans when their underlying catalog data changes

Probably belongs under "DEPENDENCY CHECKING".


BTW, I was slightly startled to read this under URGENT:

* Allow row re-use without vacuum (Tom)

I don't consider this urgent or even likely ever to happen, and
I certainly have not taken responsibility to do it.
        regards, tom lane


pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: temporary tables, plpgsql and yes i bet this has been asked
Next
From: Bruce Momjian
Date:
Subject: Re: temporary tables, plpgsql and yes i bet this has been asked