A cosmetic suggest for 4.2.7. Aggregate Expressions

Поиск
Список
Период
Сортировка
От PG Doc comments form
Тема A cosmetic suggest for 4.2.7. Aggregate Expressions
Дата
Msg-id 153063661609.13256.2725376838858683777@wrigleys.postgresql.org
обсуждение исходный текст
Список pgsql-docs
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/10/static/sql-expressions.html
Description:

Documentation for PostgreSQL 10.4
4.2.7. Aggregate Expressions
...
aggregate_name (expression [ , ... ] [ order_by_clause ] ) [ FILTER ( WHERE
filter_clause ) ]
aggregate_name (ALL expression [ , ... ] [ order_by_clause ] ) [ FILTER (
WHERE filter_clause ) ]
...
The first form of aggregate expression invokes the aggregate once for each
input row. The second form is the same as the first, since ALL is the
default.
...

Since both definitions are the same will be better rewrite to
aggregate_name ([ALL ]expression [ , ... ] [ order_by_clause ] ) [ FILTER (
WHERE filter_clause ) ]
to emphasize this.

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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: Dead link to hp docs
Следующее
От: PG Doc comments form
Дата:
Сообщение: Building client-only fails