Re: [HACKERS] Case statement ready?

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: lockhart(at)alumni(dot)caltech(dot)edu (Thomas G(dot) Lockhart)
Cc: hackers(at)postgreSQL(dot)org, jwieck(at)debis(dot)com, vadim(at)krs(dot)ru
Subject: Re: [HACKERS] Case statement ready?
Date: 1998-12-04 16:36:58
Message-ID: 199812041636.LAA18456@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas G. Lockhart 1998-12-04 16:40:33 exp() changes
Previous Message Thomas G. Lockhart 1998-12-04 16:34:30 Re: [HACKERS] Date/time on glibc2 linux