Tom Lane wrote:
> Thomas Lockhart <lockhart(at)alumni(dot)caltech(dot)edu> writes:
> > ... I don't know much about it, but I'll guess that you are
> > exhausting memory just trying to *plan* the query, or that the
> > bazillion intermediate results from the huge number of "or" clauses is
> > chewing things up.
> The problem can also be solved by doing SELECT UNION SELCT
for each "or" clause. This is only a cute fix, it does not solve the
problemof multiple "or" "and" statements.
Gary