Search Postgresql Archives

Re: function accepting a row

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Od: Michael Fuhr <mike@xxxxxxxx>
..
> * 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

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux