Re: function definition documentation - Mailing list pgsql-sql

From Richard Huxton
Subject Re: function definition documentation
Date
Msg-id 200403230808.57253.dev@archonet.com
Whole thread Raw
In response to function definition documentation  ("Gregory S. Williamson" <gsw@globexplorer.com>)
List pgsql-sql
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


pgsql-sql by date:

Previous
From: Achilleus Mantzios
Date:
Subject: Re: special integrity constraints
Next
From: Martin Marques
Date:
Subject: Re: inverse of "day of year"