| От | Joe |
|---|---|
| Тема | Re: Evaluation of if conditions |
| Дата | |
| Msg-id | 44FF5C60.80601@freedomcircle.net обсуждение исходный текст |
| Ответ на | Evaluation of if conditions (Daniel CAUNE <d.caune@free.fr>) |
| Список | pgsql-sql |
Daniel CAUNE wrote: > Hi, > > How does the IF statement evaluate conditions? Does it evaluate conditions > following their declaration order from left to right? In case of > or-conditions, does the IF statement stop evaluating conditions whenever a > first or-condition is true? > Please see 4.2.12. Expression Evaluation Rules of the manual: The order of evaluation of subexpressions is not defined. In particular, the inputs of an operator or function are not necessarily evaluated left-to-right or in any other fixed order. There's more examples there too. Joe
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера