| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | jimmy(dot)b(dot)mau(at)gmail(dot)com |
| Cc: | pgsql-docs(at)lists(dot)postgresql(dot)org |
| Subject: | Re: Typo in 2.7 Aggregate Functions |
| Date: | 2023-01-16 17:11:58 |
| Message-ID: | 1890613.1673889118@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-docs |
PG Doc comments form <noreply(at)postgresql(dot)org> writes:
> Near the end of Chapter 2.7 Aggregate Functions of the documentation, the
> command FILTER is introduced. The full query is
> SELECT city, max(temp_lo), count(*) FILTER (WHERE temp_lo < 30)
> FROM weather
> GROUP BY city
> HAVING max(temp_lo) < 40;
> and the output shows a count value of 5. This is an error.
Yeah :-(. This is already fixed in our source tree [1], as you
can see on the website if you look at the "devel" branch. But the
released-version docs won't update till our next releases, in
February.
Thanks for the report, anyway!
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Laurenz Albe | 2023-01-17 08:05:34 | Re: The documentation for storage type 'plain' actually allows single byte header |
| Previous Message | Tom Lane | 2023-01-16 16:50:11 | Re: The documentation for storage type 'plain' actually allows single byte header |