pgsql: Document evaluation-order considerations for aggregate functions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Document evaluation-order considerations for aggregate functions
Дата
Msg-id E1XpPDs-0000Yn-P4@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Document evaluation-order considerations for aggregate functions.

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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/0ce627d465f534a3234750a5b398664dfece4102

Modified Files
--------------
doc/src/sgml/ref/select.sgml |   36 ++++++++++++++++++++++++++----------
doc/src/sgml/syntax.sgml     |   22 ++++++++++++++++++++++
2 files changed, 48 insertions(+), 10 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Stephen Frost
Дата:
Сообщение: pgsql: Clean up includes from RLS patch
Следующее
От: Andres Freund
Дата:
Сообщение: pgsql: Fix initdb --sync-only to also sync tablespaces.