Re: [HACKERS] Case statement ready?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] Case statement ready?
Дата
Msg-id 199812041636.LAA18456@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Case statement ready?  ("Thomas G. Lockhart" <lockhart@alumni.caltech.edu>)
Список pgsql-hackers
> If anyone has a chance to look at the new code wrt the rewriter and
> optimizer costing that would be great. For the costing I would assume
> that the cost should be related to the sum of the costs of the
> individual clauses within the CASE statement (or maybe half of the sum).

Isn't only one of the case values going to be used?  Wouldn't you want
the average of the case entry costs?

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: "Thomas G. Lockhart"
Дата:
Сообщение: Re: [HACKERS] Date/time on glibc2 linux
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] exp() changes