Re: Fixing the representation of ORDER BY/GROUP BY/DISTINCT
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Fixing the representation of ORDER BY/GROUP BY/DISTINCT |
| Дата | |
| Msg-id | 11106.1217607965@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Fixing the representation of ORDER BY/GROUP BY/DISTINCT (Martijn van Oosterhout <kleptog@svana.org>) |
| Список | pgsql-hackers |
Martijn van Oosterhout <kleptog@svana.org> writes:
> On Thu, Jul 31, 2008 at 08:54:49PM -0400, Tom Lane wrote:
>> So while I was fooling with Steve Midgley's problem I got a bit of a bee
>> in my bonnet about the way that the parser emits ORDER BY, GROUP BY,
>> and DISTINCT lists.
> There's an open TODO item in this area: namely that a GROUP BY referring
> to a primary key is equivalent to a GROUP BY involving all the rest of
> the fields. Now, I don't think anyone has proposed a way to support
> that, but I wanted to check we arn't making it harder to do with these
> changes...
No, these changes shouldn't make any difference for that. (Offhand it
seems like that might just be a simple modification in the code that
checks for improper use of ungrouped fields. Not sure though.)
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера