Monday, May 12, 2008

[HACKERS] Stack depth exceeded error

Hello,

I have custom postgres code. I get the error below for the query

"select l_orderkey as a from tpcd.orders, tpcd.lineitem where o_orderkey=l_orderkey and l_partkey<100 and l_linestatus='F';"

ERROR:  stack depth limit exceeded
HINT:  Increase the configuration parameter "max_stack_depth".

However, the same code runs fine with one condition in where clause, but fails with the error above in case of multiple conditions.

Whats the cause of this error ? I tried increasing the stack limit; but it doesnt help.

--
Suresh Iyengar


Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.

No comments: