From: | Pantelis Theodosiou <ypercube(at)gmail(dot)com> |
---|---|
To: | pgsql-docs(at)lists(dot)postgresql(dot)org |
Subject: | Fwd: GROUP BY DISTINCT |
Date: | 2021-03-13 01:03:19 |
Message-ID: | CAE3TBxyAKwqJodfbOCdWy2ome1=ojyaboqiqTmdYCBG_1=JCZw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-docs pgsql-hackers |
---------- Forwarded message ---------
From: Tomas Vondra <tomas(dot)vondra(at)enterprisedb(dot)com>
Date: Fri, Mar 12, 2021 at 11:33 PM
Subject: Re: GROUP BY DISTINCT
To: Vik Fearing <vik(at)postgresfriends(dot)org>, Georgios Kokolatos <
gkokolatos(at)protonmail(dot)com>, <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Cc: Erik Rijkers <er(at)xs4all(dot)nl>
Hi Vik,
The patch seems quite ready, I have just two comments.
1) Shouldn't this add another <indexterm> for DISTINCT, somewhere in the
documentation? Now the index points just to the SELECT DISTINCT part.
.....
regards
--
Tomas Vondra
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
After reading the above thread in hackers, I noticed that the index does
not point to aggrgeate functions either and DISTINCT is not mentioned in
the aggregate functions page either:
https://www.postgresql.org/docs/current/functions-aggregate.html
Shouldn't it be mentioned with an example of COUNT(DISTINCT ...) or
aggregate_function(DISTINCT ...) in general ?
Best regards
Pantelis Theodosiou
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Munro | 2021-03-15 02:47:15 | Re: Change JOIN tutorial to focus more on explicit joins |
Previous Message | Tomas Vondra | 2021-03-12 23:33:36 | Re: GROUP BY DISTINCT |
From | Date | Subject | |
---|---|---|---|
Next Message | Mark Dilger | 2021-03-13 01:04:09 | Re: pg_amcheck contrib application |
Previous Message | Thomas Munro | 2021-03-13 00:34:16 | Re: Reduce timing overhead of EXPLAIN ANALYZE using rdtsc? |