was enhancement of temp tables in plpgsql supposed to apply to temp views as well? appears it did not.

Поиск
Список
Период
Сортировка
От chris wood
Тема was enhancement of temp tables in plpgsql supposed to apply to temp views as well? appears it did not.
Дата
Msg-id 006201c8320e$8d555590$6700a8c0@D7F27961
обсуждение исходный текст
Ответы Re: was enhancement of temp tables in plpgsql supposed to apply to temp views as well? appears it did not.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Plpgsql procedure:



BEGIN

Drop table if exits temptable cascade ;



Create temp table temptable ...



Create temp view tempview as select . from temptable...



Select .. from tempview  ...

END



The first time I run this after I create the procedure it works perfectly.

The second time I get notices that the drop is cascading to the view (this
was expected and OK)

But then the select fails

ERROR: could not open relation .. No such file or directory

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

Предыдущее
От: "paulo"
Дата:
Сообщение: BUG #3787: configure: error: readline library not found
Следующее
От: Tom Lane
Дата:
Сообщение: Re: was enhancement of temp tables in plpgsql supposed to apply to temp views as well? appears it did not.