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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: temporary tables, plpgsql and yes i bet this has been asked before
Дата
Msg-id 2301.1012837625@sss.pgh.pa.us
обсуждение исходный текст
Ответ на temporary tables, plpgsql and yes i bet this has been asked before  (Murray Prior Hobbs <murray@efone.com>)
Список pgsql-sql
Murray Prior Hobbs <murray@efone.com> writes:
> in a plpgsql function
>     create temporary table X
>     ....
>     drop table X

You need to use EXECUTE for all accesses to the temp table, in order
to defeat plpgsql's attempts to cache plans for those queries.
        regards, tom lane


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

Предыдущее
От: Jeff Eckermann
Дата:
Сообщение: Re: casting question
Следующее
От: Jan Wieck
Дата:
Сообщение: Re: temporary tables, plpgsql and yes i bet this has been asked