pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Julie Hunt <jhunt@chac.qld.edu.au>
To: Joseph Shraibman <jks@selectacast.net>
Cc: pgsql-sql@postgresql.org <pgsql-sql@postgresql.org>
Subject: Re: possible bug with group by?
Date: Thu, 25 May 2000 09:05:43 +1000
Message-ID: <392C6046.E03F6DCF@chac.qld.edu.au> (raw)
References: <392C5819.2FD488A8@selectacast.net>



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




view thread (8+ messages)  latest in thread

Message-ID: <392C6046.E03F6DCF@chac.qld.edu.au>
Permalink:  ../392C6046.E03F6DCF@chac.qld.edu.au/
Also on:    postgresql.org/message-id/392C6046.E03F6DCF@chac.qld.edu.au

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: jhunt@chac.qld.edu.au, jks@selectacast.net
  Subject: Re: possible bug with group by?
  In-Reply-To: <392C6046.E03F6DCF@chac.qld.edu.au>
  References: <392C5819.2FD488A8@selectacast.net> <392C6046.E03F6DCF@chac.qld.edu.au>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox