A cosmetic suggest for 4.2.7. Aggregate Expressions

From: PG Doc comments form <noreply(at)postgresql(dot)org>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Cc: splarv(at)ya(dot)ru
Subject: A cosmetic suggest for 4.2.7. Aggregate Expressions
Date: 2018-07-03 16:50:16
Message-ID: 153063661609.13256.2725376838858683777@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Browse pgsql-docs by date

  From Date Subject
Next Message PG Doc comments form 2018-07-04 08:28:18 Building client-only fails
Previous Message Magnus Hagander 2018-07-03 13:09:37 Re: Dead link to hp docs