Re: Need help using function

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: Need help using function
Дата
Msg-id 4A450235.7040900@hogranch.com
обсуждение исходный текст
Ответ на Need help using function  ("Bob Pawley" <rjpawley@shaw.ca>)
Список pgsql-general
Bob Pawley wrote:
> Hi
>
> I want to try using functions but I am having trouble understanding
> return.
>
> ...
>
> The error message - "control reached end of function without RETURN"
>
> I have attempted adding - Return integer; to the end of the function
> with no success.
>


I'd try adding
     RETURN 1;
or similar,  before the END;



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

Предыдущее
От: "Bob Pawley"
Дата:
Сообщение: Need help using function
Следующее
От: "Bob Pawley"
Дата:
Сообщение: Re: Need help using function