Re: [DOCS] [BUGS] BUG #11661: CASE ELSE is evaluated although condition is true

2014-11-10 Thread Michael Paquier
On Tue, Nov 11, 2014 at 4:37 PM, Marti Raudsepp wrote: > Why? This page explains in what order the expressions in a SELECT > query are processed. Aggregates can only be found in SELECT queries > and their semantics are non-trivial, so it seems like a big omission > to me that their relation to oth

Re: [DOCS] [BUGS] BUG #11661: CASE ELSE is evaluated although condition is true

2014-11-10 Thread Marti Raudsepp
Hi On Tue, Nov 11, 2014 at 9:14 AM, Michael Paquier wrote: > This patch does not compile properly as a is missing, and I > think that you actually want to add this sect2 block at the bottom the > sect1 block for conditional functions. Sorry, I never got around to testing the build because I fou

Re: [DOCS] [BUGS] BUG #11661: CASE ELSE is evaluated although condition is true

2014-11-10 Thread Michael Paquier
On Tue, Oct 14, 2014 at 7:54 AM, Marti Raudsepp wrote: > Our documentation should be clearer about the fact that all aggregates > are evaluated strictly before their surrounding SELECT expressions, > the attached documentation patch adds a note about this to the > "general processing of SELECT" ex