Re: BUG #5032: unexpected syntax error for plpgsql function returns table

Поиск
Список
Период
Сортировка
От Keith Cascio
Тема Re: BUG #5032: unexpected syntax error for plpgsql function returns table
Дата
Msg-id alpine.GSO.2.00.0909022334090.2576@kiwi.cs.ucla.edu
обсуждение исходный текст
Ответ на Re: BUG #5032: unexpected syntax error for plpgsql function returns table  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-bugs
Pavel,

On Thu, 3 Sep 2009, Pavel Stehule wrote:

> 2009/9/3 Keith Cascio <keith@cs.ucla.edu>:
> > Why should it succeed with "bar" but not with "foo"?
>
> because bar isn't declared as variable

I understand now.  returns table(v1 t1, v2 t2,...) is equivalent to declaring
OUT parameters, therefore "foo" is an out parameter.  Thank you for your
patience sir.

Keith

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

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: BUG #5032: unexpected syntax error for plpgsql function returns table
Следующее
От: Robert Haas
Дата:
Сообщение: Re: BUG #5032: unexpected syntax error for plpgsql function returns table