create temp view from function inside plpgsql function.

Поиск
Список
Период
Сортировка
От Tjibbe
Тема create temp view from function inside plpgsql function.
Дата
Msg-id CAF_dx104E=K9HMNP_ZqZW-g2Y5z7E2Jdnj3Gup8OkWLM2JBdPQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: create temp view from function inside plpgsql function.  (Pavel Stehule <pavel.stehule@gmail.com>)
Re: create temp view from function inside plpgsql function.  (Tjibbe <tjibbe@rijpma.org>)
Список pgsql-general
I have a plpgsql function with:


PERFORM * FROM answers(_h);    --works fine.
CREATE TEMP VIEW answers AS SELECT * FROM answers(_h);  --gives error...

Why I get this error:
ERROR: column \"_h\" does not exist\nLINE 1: ...TEMP VIEW answers AS SELECT * FROM antwoorden_view(_h)

--
+31 6 29401726
tjibbe@rijpma.org
Jacobusstraat 185
3012 JM Rotterdam

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

Предыдущее
От: Raphael Bauduin
Дата:
Сообщение: json_populate_recordset and nested object, how to solve?
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: create temp view from function inside plpgsql function.