Re: temporary table / recursion

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: temporary table / recursion
Дата
Msg-id 1940.1171215676@sss.pgh.pa.us
обсуждение исходный текст
Ответ на temporary table / recursion  ("Robert Wimmer" <seppwimmer@hotmail.com>)
Список pgsql-interfaces
"Robert Wimmer" <seppwimmer@hotmail.com> writes:
> i cannot drop a temporary table that was created in a plpgsql function.

It was created with "on commit drop".  Are you sure it still exists?

The problem looks to me like the well-known issue that plpgsql caches
plans, and so you can't have it refer to different temp tables on
successive executions (in the same session) unless you use EXECUTE.
        regards, tom lane


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

Предыдущее
От: imad
Дата:
Сообщение: Re: temporary table / recursion
Следующее
От: "Robert Wimmer"
Дата:
Сообщение: Re: temporary table / recursion