Re: function accepting a row

Поиск
Список
Период
Сортировка
От tgrzej
Тема Re: function accepting a row
Дата
Msg-id AF15F55EB4DCDE072CC694F7502DC0D9112375561227EF345422B300B5BC@webmail.aster.pl
обсуждение исходный текст
Ответ на function accepting a row  (Tomek Grzejszczyk <tgrzej@aster.pl>)
Ответы Re: function accepting a row  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-general
Od: Michael Fuhr <mike@fuhr.org>
..
> * More support for composite types (row and record variables) in
> PL/pgSQL
>
>   For example, it now works to pass a rowtype variable to another
>   function as a single variable.
>
> If you're using a version older than 8.0 then you'll have to work
> within its limitations.
>
Thanks for the answer,
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?

Tomek Grzejszczyk

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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: regarding isolation between threads
Следующее
От: "Surabhi Ahuja "
Дата:
Сообщение: regarding isolation between threads