> What exactly about the documentation isn't clear?
I would have liked a few more examples... but that is perhaps just me.
> Like the documentation says: SETOF sometype.
Ah, so I just create my own type with "CREATE TYPE ..." and use that
type in the function.