[Minor] Clarification on "2.7. Aggregate Functions" - Mailing list pgsql-docs

From PG Doc comments form
Subject [Minor] Clarification on "2.7. Aggregate Functions"
Date
Msg-id 179061790299.1026196.8971090344603809875@wrigleys.postgresql.org
Whole thread
Responses Re: [Minor] Clarification on "2.7. Aggregate Functions"
List pgsql-docs
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/18/tutorial-agg.html
Description:

Where it says: "FILTER is much like WHERE, except that it removes rows only
from the input of the particular aggregate function that it is attached to.
Here, the count aggregate counts only rows with temp_lo below 45; but the
max aggregate is still applied to all rows, so it still finds the reading of
46."
Should say "FILTER is much like WHERE, except that it removes rows only from
the input of the particular aggregate function that it is attached to. Here,
the count aggregate counts only rows with temp_lo below 45; but the max
aggregate is still applied to all rows being considered with the GROUP BY
clause, so it still finds the reading of 46."

Wording may vary, I think a clarification on this should be an improvement.




pgsql-docs by date:

Previous
From: PG Doc comments form
Date:
Subject: [Minor] Correctness in sentence in "Aggregate Functions"
Next
From: "David G. Johnston"
Date:
Subject: Re: Table 9.31. to_char Examples