| From: | PG Doc comments form <noreply(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-docs(at)lists(dot)postgresql(dot)org |
| Cc: | matematica(dot)a3k(at)gmail(dot)com |
| Subject: | [Minor] Clarification on "2.7. Aggregate Functions" |
| Date: | 2026-09-28 17:51:42 |
| Message-ID: | 179061790299.1026196.8971090344603809875@wrigleys.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | David G. Johnston | 2026-09-28 19:05:59 | Re: Table 9.31. to_char Examples |
| Previous Message | PG Doc comments form | 2026-09-28 17:25:17 | [Minor] Correctness in sentence in "Aggregate Functions" |