"Hiroshi Inoue" <Inoue(at)tpf(dot)co(dot)jp> writes:
>>>> Why is valid_or_clause(clausenode) necessary ?
>>
>> Looks like a waste of cycles to me too.
>
> It's not only a waste of cycles.
> [ snip ]
> rows of each plan 261 : 773 : 1274 not = 1 : 2 : 3.
> It's nearly = 1 :3 :5.
> elements of or_clause except its first element are evaluated
> twice and the results are accumlated.
BTW, I fixed this...
regards, tom lane