From: Gregory S. Williamson <gsw@globexplorer.com>
To: Richard Huxton <dev@archonet.com>
To: pgsql-sql@postgresql.org
Subject: Re: function definition documentation
Date: Tue, 23 Mar 2004 16:04:16 -0800
Message-ID: <71E37EF6B7DCC1499CEA0316A2568328DC9B6C@loki.wc.globexplorer.net> (raw)
Thanks muchly for the excellent tip. Lots of useful references there.
I seem to have battled through this thicket -- onwards !
Greg
-----Original Message-----
From: Richard Huxton [mailto:dev@archonet.com]
Sent: Tuesday, March 23, 2004 12:09 AM
To: Gregory S. Williamson; pgsql-sql@postgresql.org
Subject: Re: [SQL] function definition documentation
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
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: gsw@globexplorer.com, dev@archonet.com
Subject: Re: function definition documentation
In-Reply-To: <71E37EF6B7DCC1499CEA0316A2568328DC9B6C@loki.wc.globexplorer.net>
References: <71E37EF6B7DCC1499CEA0316A2568328DC9B6C@loki.wc.globexplorer.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