Re: possible bug with group by?
От
Tom Lane
Тема
Re: possible bug with group by?
Дата
Msg-id
19251.959223598@sss.pgh.pa.us
Ответ на
Re: possible bug with group by? (Joseph Shraibman)
Список
Дерево обсуждения
Re: possible bug with group by? Joseph Shraibman <jks@selectacast.net>
Re: possible bug with group by? Tom Lane <tgl@sss.pgh.pa.us>
Joseph Shraibman writes: > But why would group by need to sort it? To insert it into a tree to > make lookups of distinct values faster? No, to bring identical values together. GROUP BY and DISTINCT are both implemented as basically a "sort | uniq" pipeline. regards, tom lane
В списке pgsql-sql по дате отправления