Re: function definition documentation

Поиск
Список
Период
Сортировка
От Gregory S. Williamson
Тема Re: function definition documentation
Дата
Msg-id 71E37EF6B7DCC1499CEA0316A2568328DC9B6C@loki.wc.globexplorer.net
обсуждение исходный текст
Ответ на function definition documentation  ("Gregory S. Williamson" <gsw@globexplorer.com>)
Список pgsql-sql
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


В списке pgsql-sql по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: move forward 0 from foo;
Следующее
От: "Okeh, Sam"
Дата:
Сообщение: Using Bounding Box as a where predicate