Re: Bug #633: CASE statement evaluation does not short-circut

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: Bug #633: CASE statement evaluation does not short-circut
Дата
Msg-id 3CBB8D61.7F2498CA@fourpalms.org
обсуждение исходный текст
Ответ на Re: [BUGS] Bug #633: CASE statement evaluation does not short-circut  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
...
> I don't really consider this a bug; at least, fixing it would imply not
> const-simplifying the result expressions of CASEs, which is a cure far
> worse than the disease IMHO.  Does anyone think we *should* allow CASE
> to defeat const-simplification?

No. Constant-folding during parsing should *always* be allowed.
                  - Thomas


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: multibyte support by default
Следующее
От: Manuel Sugawara
Дата:
Сообщение: Re: regexp character class locale awareness patch