From: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Michael J Davis <michael(dot)j(dot)davis(at)tvguide(dot)com>, hackers(at)postgreSQL(dot)org |
Subject: | Re: [HACKERS] A select with aggretion is failing, still subtle problems with aggregation |
Date: | 1999-05-10 16:47:36 |
Message-ID: | 199905101647.MAA07751@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Is this done? I have added it to the list.
> Michael J Davis <michael(dot)j(dot)davis(at)tvguide(dot)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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 1999-05-10 16:48:15 | Re: [HACKERS] 6.5 cvs ERROR: copyObject: don't know how to copy 604 |
Previous Message | Tom Lane | 1999-05-10 16:46:47 | Re: [HACKERS] Beta2? |