are there static variables in pgsql?

From: "Yavuz Kavus" <yavuzkavus(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: are there static variables in pgsql?
Date: 2006-06-10 22:31:36
Message-ID: 95b926fc0606101531q38cc2d6aq6c63730d4796f184@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Terry Lee Tucker 2006-06-10 22:37:35 Re: are there static variables in pgsql?
Previous Message Christopher Browne 2006-06-10 21:17:25 Re: TOAST not working