Re: Function Returning SETOF Problem

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: Function Returning SETOF Problem
Дата
Msg-id 3FE1DED6.2090208@joeconway.com
обсуждение исходный текст
Ответ на Re: Function Returning SETOF Problem  (Ron St-Pierre <rstpierre@syscor.com>)
Список pgsql-general
Ron St-Pierre wrote:
> Here are my record type and function:

Note -- you could make it easier for people to help, and hence increase
your chances of getting help, if your sample code is complete. I.e.
provide the needed table definition(s) and even some sample data (INSERT
statements) so we don't have to reverse engineer those things.

>           END LOOP;
>           RETURN 1;
>       END;
>   ' LANGUAGE 'plpgsql';

The line "RETURN 1;" ought to be just "RETURN;"

HTH,

Joe


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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: Function Returning SETOF Problem
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: restore error - language "plperlu" is not trusted