Re: [HACKERS] A select with aggretion is failing, still subtle problems with aggregation

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] A select with aggretion is failing, still subtle problems with aggregation
Дата
Msg-id 199905101647.MAA07751@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] A select with aggretion is failing, still subtle problems with aggregation  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Is this done?  I have added it to the list.



> Michael J Davis <michael.j.davis@tvguide.com> writes:
> > The following select fails:
> >> select invoiceid + 3 as type, memberid, 1, max(TotShippingHandling) 
> >> from InvoiceLineDetails 
> >> where TotShippingHandling <> 0 
> >> group by type, memberid limit 10;
> > ERROR:  replace_agg_clause: variable not in target list
> 
> Yeah, "GROUP BY" on anything but a primitive column is still pretty
> hosed.  I'm going to try to work on it this weekend.
> 
>             regards, tom lane
> 
> 


--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Beta2?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] INSERT INTO