Re: [HACKERS] selectivity calculation for or_clause is wrong ?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Hiroshi Inoue" <Inoue(at)tpf(dot)co(dot)jp>
Cc: "pgsql-hackers" <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] selectivity calculation for or_clause is wrong ?
Date: 1999-07-20 15:31:58
Message-ID: 29708.932484718@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"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.

If the subclauses of an OR could get rearranged during optimization
then this might be a necessary check, but AFAIK they don't.

regards, tom lane

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 1999-07-20 15:42:54 Re: [HACKERS] Contributing
Previous Message Ansley, Michael 1999-07-20 15:30:04 RE: [HACKERS] psql & query string length