Matthew Peter wrote:
Is there any way to use CREATE TYPE or an VIEW/TABLE defintion list instead of
manually defining it?

Yes, just define your function as returning that type rather than RECORD. That way the calling context will know what to expect.

--
  Richard Huxton
  Archonet Ltd

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Reply via email to