On 16 Jan 2011, at 17:40, Jon Smark wrote:

> Again, you're making it sound like I'm requesting something exotic,
> while any language with a modern type system allows this and much
> more without blinking.  In Ocaml, for example, the return type 'page_t'
> of my function could be defined as follows:
> 
> type user_t = { uid: int; name: string; age: int; }
> type page_t = int * user_t list

That's the refcursor option I gave you earlier.

Alban Hertroys

--
Screwing up is an excellent way to attach something to the ceiling.


!DSPAM:737,4d33222411702065417953!



-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

Reply via email to