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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: temporary tables, plpgsql and yes i bet this has been asked
Дата
Msg-id 11996.1012854355@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: temporary tables, plpgsql and yes i bet this has been asked  (Jan Wieck <janwieck@yahoo.com>)
Ответы Re: temporary tables, plpgsql and yes i bet this has been asked  (Jan Wieck <janwieck@yahoo.com>)
Список pgsql-sql
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?
        regards, tom lane


В списке pgsql-sql по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: temporary tables, plpgsql and yes i bet this has been asked
Следующее
От: Tom Lane
Дата:
Сообщение: Re: temporary tables, plpgsql and yes i bet this has been asked