Re: Returning rows from functions

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: Returning rows from functions
Дата
Msg-id 3D2D109C.209@joeconway.com
обсуждение исходный текст
Ответ на Returning rows from functions  ("David Durst" <ddurst@la-rubber.com>)
Список pgsql-sql
David Durst wrote:
> I was wondering if there was a way of returning a complete row from a
> function, in reading the documentation of CREATE FUNCTION. I was under the
> impression that you could return a row by using setof, but this does not
> seem to be true.
> Can anyone help?

The short answer is "yes, but..."; see the thread at:
http://archives.postgresql.org/pgsql-interfaces/2002-06/msg00042.php
for a recent discussion about this.

HTH,

Joe



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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: BETWEEN bug?
Следующее
От: Ian Barwick
Дата:
Сообщение: Re: Insert Function