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 ---------------------------(end of broadcast)--------------------------- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to majordomo@xxxxxxxxxxxxxx so that your message can get through to the mailing list cleanly