are there static variables in pgsql?

Поиск
Список
Период
Сортировка
Искать
От
Yavuz Kavus
Тема
are there static variables in pgsql?
Дата
Msg-id
95b926fc0606101531q38cc2d6aq6c63730d4796f184@mail.gmail.com
Список
Дерево обсуждения
are there static variables in pgsql? "Yavuz Kavus" <yavuzkavus@gmail.com>
Re: are there static variables in pgsql? Terry Lee Tucker <terry@esc1.com>
Re: are there static variables in pgsql? "Jim C. Nasby" <jnasby@pervasive.com>

i am writing a recursive procedure in pl/pgsql.
i need to check whether a condition is true in any step of recursive calls.

if i get a true response in one call, i wont make other recursive calls anymore, because i get what i need.
if no one gives me a true response, then uppest procedure will return false as a result.

i think i may achieve this with a static variable(shared among all calls).

is it possible?

or another solution?

thanks a lot for any help.
В списке pgsql-general по дате отправления
От: Christopher Browne
Дата:
Сообщение: Re: TOAST not working
От: Terry Lee Tucker
Дата:
FAQ