Skip site navigation (1) Skip section navigation (2)

Re: SELECT DISTINCT on boxes

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Bugs for PostgreSQL <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: SELECT DISTINCT on boxes
Date: 2004-07-20 19:51:58
Message-ID: 200407201951.i6KJpwx20045@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
Added to TODO:

	* Fix data types where equality comparison isn't intuitive, e.g. box


---------------------------------------------------------------------------

Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > I found the cause.  Equals for boxes compares only area, \do:
> 
> ... which is in itself pretty bogus IMHO.  There are a couple of the
> geometric types for which '=' does not do what you'd really expect.
> I've been wondering if we could get away with changing this ...
> 
> 			regards, tom lane
> 

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

In response to

pgsql-bugs by date

Next:From: Tom LaneDate: 2004-07-21 05:55:36
Subject: Re: Bug in concat operator for Char? -- More Info
Previous:From: Michael MeskesDate: 2004-07-20 18:23:12
Subject: Re: ecpg -D SYMBOL

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group