Re: Recursive pl/pgsql function ...

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Recursive pl/pgsql function ...
Дата
Msg-id 7543.1160969254@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Recursive pl/pgsql function ...  ("Marc G. Fournier" <scrappy@postgresql.org>)
Ответы Re: Recursive pl/pgsql function ...  ("Marc G. Fournier" <scrappy@postgresql.org>)
Re: Recursive pl/pgsql function ...  (Markus Schaber <schabi@logix-tt.com>)
Список pgsql-sql
"Marc G. Fournier" <scrappy@postgresql.org> writes:
> More then one Record:
> # select get_next_billing_date(activated, 12) from company_details;
> ERROR:  control reached end of function without RETURN
> CONTEXT:  PL/pgSQL function "get_next_billing_date"

Hm, what PG version is this?  I couldn't duplicate that in HEAD, though
I did find out that a zero or negative payment_period makes it recurse
until "stack depth exceeded".
        regards, tom lane


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

Предыдущее
От: "Marc G. Fournier"
Дата:
Сообщение: Recursive pl/pgsql function ...
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Assigning a timestamp without timezone to a timestamp