Skip site navigation (1) Skip section navigation (2)

Re: Checking stack depth

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: suresh(at)cse(dot)iitb(dot)ac(dot)in
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Checking stack depth
Date: 2008-10-29 03:20:32
Message-ID: 3869.1225250432@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Suresh <suiyengar(at)yahoo(dot)com> writes:
> Why is check_stack_depth function enforced in context of evaluating expressions in PostgreSQL ? What sort of recursion we are trying to safeguard ?

create function foo(int) returns int as $$
select foo($1) $$ language sql;

select foo(1);

			regards, tom lane

In response to

pgsql-hackers by date

Next:From: Robert HaasDate: 2008-10-29 03:45:30
Subject: Re: BufferAccessStrategy for bulk insert
Previous:From: SureshDate: 2008-10-29 03:16:33
Subject: Checking stack depth

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group