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