Re: function accepting a row

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: function accepting a row
Дата
Msg-id 20050811130742.GA91088@winnie.fuhr.org
обсуждение исходный текст
Ответ на Re: function accepting a row  (tgrzej <tgrzej@aster.pl>)
Ответы Re: function accepting a row  (Tomek Grzejszczyk <tgrzej@aster.pl>)
Список pgsql-general
On Thu, Aug 11, 2005 at 12:20:17PM +0200, tgrzej wrote:
> I tried to follow #37.1.2 from:
> http://www.postgresql.org/docs/7.4/interactive/plpgsql.html
>
> where one can read:
> "Functions written in PL/pgSQL can accept as arguments any scalar or
> array data type supported by the server, and they can return a result
> of any of these types. They can also accept or return any composite
> type (row type) specified by name."
>
> So is this part of documentation non correct or is my way of calling a
> function accepting a rowtype is not correct?

PL/pgSQL functions can *accept* these types of arguments, but in
versions earlier than 8.0 they have trouble *passing* such arguments
to another function.  The documentation should probably be more clear
about that.

--
Michael Fuhr

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

Предыдущее
От: Christopher Browne
Дата:
Сообщение: Re: What's up with EnterpriseDB?
Следующее
От: "Google Mike"
Дата:
Сообщение: Re: Poll on your LAPP Preferences