Thread: level of recursion
Hello:
Is there a system variable with Postgres that would tell you the level of recursion you are at with in a function?
Or
Is the best way to keep passing down an integer and incrementing it?
Thanks for your kind assistance.
Kevin Duffy
"Kevin Duffy" <KD@wrinvestments.com> writes: > Is there a system variable with Postgres that would tell you the level > of recursion you are at with in a function? Nope. regards, tom lane
Thanks for the swift well worded reply. KD -----Original Message----- From: Tom Lane [mailto:tgl@sss.pgh.pa.us] Sent: Friday, June 19, 2009 6:04 PM To: Kevin Duffy Cc: pgsql-novice@postgresql.org; Jonathan Schindler Subject: Re: [NOVICE] level of recursion "Kevin Duffy" <KD@wrinvestments.com> writes: > Is there a system variable with Postgres that would tell you the level > of recursion you are at with in a function? Nope. regards, tom lane