Re: Checking stack depth - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Checking stack depth
Date
Msg-id 3869.1225250432@sss.pgh.pa.us
Whole thread Raw
In response to Checking stack depth  (Suresh <suiyengar@yahoo.com>)
List pgsql-hackers
Suresh <suiyengar@yahoo.com> writes:
> Why is check_stack_depth function enforced in context of evaluating expressions in PostgreSQL ? What sort of
recursionwe are trying to safeguard ?
 

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

select foo(1);
        regards, tom lane


pgsql-hackers by date:

Previous
From: Suresh
Date:
Subject: Checking stack depth
Next
From: "Robert Haas"
Date:
Subject: Re: BufferAccessStrategy for bulk insert