• Tom Lane's avatar
    Document evaluation-order considerations for aggregate functions. · 0ce627d4
    Tom Lane authored
    The SELECT reference page didn't really address the question of when
    aggregate function evaluation occurs, nor did the "expression evaluation
    rules" documentation mention that CASE can't be used to control whether
    an aggregate gets evaluated or not.  Improve that.
    
    Per discussion of bug #11661.  Original text by Marti Raudsepp and Michael
    Paquier, rewritten significantly by me.
    0ce627d4
select.sgml 79.3 KB