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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-bugs by date

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