pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Zapico <kevin.zapico@viewgate.com>
To: pgsql-sql@postgresql.org
Subject: Result sets from functions
Date: Thu, 10 Jan 2002 08:23:01 -0000
Message-ID: <a1jiuh$2i2a$1@news.tht.net> (raw)

I am new to postgres and am trying to get a function to return a result set
with multiple columns.

The only way I have seen to do this so far is

select column1(proc()), column2(proc())

This looks like it should call the proc() function twice, although I am sure
that it does not. However, I am trying to find out if there is another way
of doing this.

Please help.





view thread (6+ messages)  latest in thread

Message-ID: <a1jiuh$2i2a$1@news.tht.net>
Permalink:  ../a1jiuh$2i2a$1@news.tht.net/
Also on:    postgresql.org/message-id/a1jiuh$2i2a$1@news.tht.net

 · 

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: kevin.zapico@viewgate.com
  Subject: Re: Result sets from functions
  In-Reply-To: <a1jiuh$2i2a$1@news.tht.net>

* 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