Re: [HACKERS] 6.4 Aggregate Bug

From: Edmund Mergl <E(dot)Mergl(at)bawue(dot)de>
To: David Hartwig <daybee(at)bellatlantic(dot)net>
Cc: hackers <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] 6.4 Aggregate Bug
Date: 1998-08-01 14:04:26
Message-ID: 35C3206A.C757D375@bawue.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

David Hartwig wrote:
>
> While testing my 6.4 patch to allow functions/expressions to be
> specified in the ORDER/GROUP BY clause (and not in the target list) I

will this patch allow the following syntax :

select count(SUBSTR(var,1,5)), SUBSTR(var,1,5) from t group by SUBSTR(var,1,5);

This is important for writing database-independent code (e.g. it's the only
syntax Oracle understands).

Edmund
--
Edmund Mergl mailto:E(dot)Mergl(at)bawue(dot)de
Im Haldenhau 9 http://www.bawue.de/~mergl
70565 Stuttgart fon: +49 711 747503
Germany

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas G. Lockhart 1998-08-01 14:36:12 Re: [HACKERS] 6.4 Aggregate Bug
Previous Message Vadim Mikheev 1998-08-01 12:12:18 Re: [HACKERS] OR with multi-key indexes