pgsql: Turns out that my recent elimination of the 'redundant'

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Turns out that my recent elimination of the 'redundant'
Date: 2005-04-23 04:42:54
Message-ID: 20050423044254.6AF645339D@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Turns out that my recent elimination of the 'redundant' flatten_andors()
code in prepqual.c had a small drawback: the flatten_andors code was
able to cope with deeply nested AND/OR structures (like 10000 ORs in
a row), whereas eval_const_expressions tends to recurse until it
overruns the stack. Revise eval_const_expressions so that it doesn't
choke on deeply nested ANDs or ORs.

Modified Files:
--------------
pgsql/src/backend/optimizer/util:
clauses.c (r1.195 -> r1.196)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/util/clauses.c.diff?r1=1.195&r2=1.196)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2005-04-23 05:38:22 pgsql: int_aggregate's int_enum() doesn't work correctly with arrays
Previous Message James William Pye 2005-04-23 04:09:47 python - be: Make PyPgFunction inherit from PyPgObject(pg_proc entry).