pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Durst <ddurst@la-rubber.com>
To: pgsql-sql@postgresql.org
Subject: Returning rows from functions
Date: Wed, 10 Jul 2002 17:37:41 -0700 (PDT)
Message-ID: <1371.10.1.1.39.1026347861.squirrel@www.la-rubber.com> (raw)

I was wondering if there was a way of returning a complete row from a
function, in reading the documentation of CREATE FUNCTION. I was under the
impression that you could return a row by using setof, but this does not
seem to be true.
Can anyone help?





view thread (2+ messages)  latest in thread

Message-ID: <1371.10.1.1.39.1026347861.squirrel@www.la-rubber.com>
Permalink:  ../1371.10.1.1.39.1026347861.squirrel@www.la-rubber.com/
Also on:    postgresql.org/message-id/1371.10.1.1.39.1026347861.squirrel@www.la-rubber.com

 · 

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: ddurst@la-rubber.com
  Subject: Re: Returning rows from functions
  In-Reply-To: <1371.10.1.1.39.1026347861.squirrel@www.la-rubber.com>

* 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