| От | Marek Lewczuk |
|---|---|
| Тема | Re: CASE in where statement. BUG ?? |
| Дата | |
| Msg-id | 3FE2CC0F.2000707@lewczuk.com обсуждение исходный текст |
| Ответ на | Re: CASE in where statement. BUG ?? (Richard Huxton <dev@archonet.com>) |
| Ответы |
Re: CASE in where statement. BUG ??
Re: CASE in where statement. BUG ?? |
| Список | pgsql-general |
Richard Huxton wrote: > On Friday 19 December 2003 09:02, Marek Lewczuk wrote: > > But until it's evaluated ''<>'' it doesn't know it is false. When building the > CASE expression, it's trying to map types to each elements and notes that '' > is not an int. Only after this stage will it actually try to evaluate the > expression. > Well, I must say that it is wird action... Why to check both elements of CASE expression, if we know for sure that only one will be executed ?
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера