Re: possible bug with group by?

From: Julie Hunt <jhunt(at)chac(dot)qld(dot)edu(dot)au>
To: Joseph Shraibman <jks(at)selectacast(dot)net>
Cc: "pgsql-sql(at)postgresql(dot)org" <pgsql-sql(at)postgresql(dot)org>
Subject: Re: possible bug with group by?
Date: 2000-05-24 23:05:43
Message-ID: 392C6046.E03F6DCF@chac.qld.edu.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Joseph Shraibman wrote:

>
>
> playpen=> select a, b, case when c is null then 'not set' else 'set' end
> as z from tablea group by a, b, z;
> ERROR: Unable to identify an operator '<' for types 'unknown' and
> 'unknown'
> You will have to retype this query using an explicit cast
> playpen=>

Hi,

should your group by be a, b, c not a, b, z?

Regards
Julie

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Ryan Bradetich 2000-05-24 23:05:58 Use of index in 7.0 vs 6.5
Previous Message Ross J. Reedstrom 2000-05-24 23:03:25 Re: possible bug with group by?