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.