I recently tried to do a big update with postgres 7.1.2. The update was
something like
UPDATE table SET status = 2 WHERE id IN (a few thousand entries) AND
status = 1;
and I got:
ERROR: Expression too complex: nesting depth exceeds max_expr_depth =
10000
What exactly caused this and how do I work around it?
--
Joseph Shraibman
jks@selectacast.net
Increase signal to noise ratio. http://www.targabot.com