Re: How Does TEMP Table Work In Plpgsql?

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: How Does TEMP Table Work In Plpgsql?
Дата
Msg-id Pine.BSF.4.21.0109032112030.79177-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на How Does TEMP Table Work In Plpgsql?  (<cnliou@eurosport.com>)
Список pgsql-general
> Weid is that test2 and test work only once per psql
> connection (i.e. "session", am I correct?).
> Can anyone help?

The reason is that the query plans are getting cached.
AFAIK, if you want to work with temp tables in plpgsql,
you're going to need to use EXECUTE to generate all the
queries that relate to the temp table.



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

Предыдущее
От: Sean Chittenden
Дата:
Сообщение: Re: Crash in vacuum analyze
Следующее
От: "James F. Hranicky"
Дата:
Сообщение: Unexpected Behavior Using a Rule With Multiple Actions (Long)