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: jwwfou@gmail.com
Subject: Possibly Incorrect Data Return
Date: Tue, 08 Nov 2022 21:31:15 +0000
Message-ID: <166794307526.652.9073408178177444190@wrigleys.postgresql.org> (raw)

The following documentation comment has been logged on the website:

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

Hello: I am working through the tutorial and the Doc page says the row count
is 5 but my results show 0 records. Of course, I may be doing something
wrong, too:

jwjwj=# SELECT city, max(temp_lo), count(*) FILTER (WHERE temp_lo < 30)
    FROM weather
    GROUP BY city
    HAVING max(temp_lo) < 40;
  city   | max | count 
---------+-----+-------
 Hayward |  37 |     0
(1 row)


view thread (3+ messages)  latest in thread

Message-ID: <166794307526.652.9073408178177444190@wrigleys.postgresql.org>
Permalink:  ../166794307526.652.9073408178177444190@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/166794307526.652.9073408178177444190@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, jwwfou@gmail.com
  Subject: Re: Possibly Incorrect Data Return
  In-Reply-To: <166794307526.652.9073408178177444190@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