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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] selectivity calculation for or_clause is wrong ?
Дата
Msg-id 29708.932484718@sss.pgh.pa.us
обсуждение исходный текст
Ответ на selectivity calculation for or_clause is wrong ?  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
Ответы RE: [HACKERS] selectivity calculation for or_clause is wrong ?  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
Список pgsql-hackers
"Hiroshi Inoue" <Inoue@tpf.co.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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [SQL] Re: [HACKERS] Counting bool flags in a complex query
Следующее
От: "Ansley, Michael"
Дата:
Сообщение: RE: [HACKERS] psql & query string length