pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: matematica.a3k@gmail.com
Subject: [Minor] Clarification on "2.7. Aggregate Functions"
Date: Mon, 28 Sep 2026 17:51:42 +0000
Message-ID: <179061790299.1026196.8971090344603809875@wrigleys.postgresql.org> (raw)

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.







view thread (2+ messages)  latest in thread

Message-ID: <179061790299.1026196.8971090344603809875@wrigleys.postgresql.org>
Permalink:  ../179061790299.1026196.8971090344603809875@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/179061790299.1026196.8971090344603809875@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-docs@lists.postgresql.org, matematica.a3k@gmail.com
  Subject: Re: [Minor] Clarification on "2.7. Aggregate Functions"
  In-Reply-To: <179061790299.1026196.8971090344603809875@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox