max_expr_depth - Mailing list pgsql-general

From Joseph Shraibman
Subject max_expr_depth
Date
Msg-id 3B2EA1E9.843D940A@selectacast.net
Whole thread Raw
Responses Re: max_expr_depth  (Ryan Mahoney <ryan@paymentalliance.net>)
Re: max_expr_depth  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
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

pgsql-general by date:

Previous
From: Philip Hallstrom
Date:
Subject: Re: aggregate function for median calculation
Next
From: Ryan Mahoney
Date:
Subject: Re: max_expr_depth