[BUGS] BUG #4997: Expression evaluation rules

2009-08-20 Thread Dmitry Samokhin
The following bug has been logged online: Bug reference: 4997 Logged by: Dmitry Samokhin Email address: s...@mail.ru PostgreSQL version: 8.3.7 Operating system: Windows 2003 Server Description:Expression evaluation rules Details: As described in section "4

Re: [BUGS] BUG #4997: Expression evaluation rules

2009-08-20 Thread Dmitry Samokhin
Yes... Described in "38.4. Expressions"... To be more exact, it's neither bug nor feature. To evaluate an integral CASE ... END expression, the 'main' SQL engine needs all its parameters passed to exist at least. But the evaluation rules (I think) remain the same both in separate SQL queries an