pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jon Obuchowski <jon_obuchowski@terc.edu>
Cc: pgsql-sql@postgresql.org
Subject: Re: returning a record from a function?
Date: Sun, 24 Feb 2002 22:49:56 -0500
Message-ID: <15038.1014608996@sss.pgh.pa.us> (raw)
In-Reply-To: <85256B6B.00121D32.00@procyon.terc.edu>
References: <85256B6B.00121D32.00@procyon.terc.edu>

"Jon Obuchowski" <jon_obuchowski@terc.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



view thread (3+ messages)  latest in thread

Message-ID: <15038.1014608996@sss.pgh.pa.us>
Permalink:  ../15038.1014608996@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/15038.1014608996@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, jon_obuchowski@terc.edu
  Subject: Re: returning a record from a function?
  In-Reply-To: <15038.1014608996@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox