Re: create temp view from function inside plpgsql function.

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

Little bit confusing ERROR.

Regards

Tjibbe

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


On 4 April 2014 11:43, Tjibbe <tjibbe@rijpma.org> wrote:
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 по дате отправления:

Предыдущее
От: Ray Stell
Дата:
Сообщение: Re: Linux vs FreeBSD
Следующее
От: Thom Brown
Дата:
Сообщение: Re: hstore - jsonb