pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: Gregory S. Williamson <gsw@globexplorer.com>
To: pgsql-sql@postgresql.org
Subject: Re: function definition documentation
Date: Tue, 23 Mar 2004 08:08:56 +0000
Message-ID: <200403230808.57253.dev@archonet.com> (raw)
In-Reply-To: <71E37EF6B7DCC1499CEA0316A2568328DC9B6B@loki.wc.globexplorer.net>
References: <71E37EF6B7DCC1499CEA0316A2568328DC9B6B@loki.wc.globexplorer.net>

On Tuesday 23 March 2004 02:16, Gregory S. Williamson wrote:
> I am having an impossible time porting some simple Stored Procedures from
> Informix to postgres. The documentation is almost self defeating.
>
> Are there any better descriptions of how to define functions that return
> several tuples to a wide variety of calling programs (e.g. I can't count on
> my users running the psql command line tool, but rather coldfusion, jsp
> etc.) ?

You might want to look at the "Set Returning Functions" at the techdocs site:
http://techdocs.postgresql.org

Most of your problems are down to quoting issues and misleading error 
statements.

-- 
  Richard Huxton
  Archonet Ltd



view thread (3+ messages)  latest in thread

Message-ID: <200403230808.57253.dev@archonet.com>
Permalink:  ../200403230808.57253.dev@archonet.com/
Also on:    postgresql.org/message-id/200403230808.57253.dev@archonet.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: dev@archonet.com, gsw@globexplorer.com
  Subject: Re: function definition documentation
  In-Reply-To: <200403230808.57253.dev@archonet.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