Re: GROUP BY vs DISTINCT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Peter Childs" <peterachilds@xxxxxxxxx> writes:
> Is it actually in the sql spec to sort in a distinct

No.  PG's code that supports GROUP BY is newer and smarter than the code
that supports DISTINCT, is all.  One of the things on the to-do list is
to revise DISTINCT so it can also consider hash-based implementations.
The hard part of that is not to break DISTINCT ON ...

			regards, tom lane


[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux