Re: SELECT DISTINCT on boxes - Mailing list pgsql-bugs

From Bruce Momjian
Subject Re: SELECT DISTINCT on boxes
Date
Msg-id 200407201951.i6KJpwx20045@candle.pha.pa.us
Whole thread Raw
In response to Re: SELECT DISTINCT on boxes  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
Added to TODO:

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


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

Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.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@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-bugs by date:

Previous
From: Michael Meskes
Date:
Subject: Re: ecpg -D SYMBOL
Next
From: Tom Lane
Date:
Subject: Re: Bug in concat operator for Char? -- More Info