Re: returning a record from a function?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Jon Obuchowski" <jon_obuchowski(at)terc(dot)edu>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: returning a record from a function?
Date: 2002-02-25 03:49:56
Message-ID: 15038.1014608996@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

"Jon Obuchowski" <jon_obuchowski(at)terc(dot)edu> writes:
> Any help with this is appreciated; if I am simply overlooking relevant
> documentation I'd appreciate being pointed towards the relevant page.

This is discussed under the not-too-obvious heading of "composite types"
at
http://www.ca.postgresql.org/users-lounge/docs/7.2/postgres/xfunc-sql.html

The short answer is that your function is fine, it's what to do with
the result that's problematic at the moment.

regards, tom lane

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Dan Langille 2002-02-25 05:30:59 processing faster with plpgsql by passing in more data
Previous Message Jon Obuchowski 2002-02-25 03:33:40 returning a record from a function?