Re: @ versus ~, redux - Mailing list pgsql-hackers

From Tom Lane
Subject Re: @ versus ~, redux
Date
Msg-id 1438.1157511610@sss.pgh.pa.us
Whole thread Raw
In response to Re: @ versus ~, redux  (Jeff Davis <pgsql@j-davis.com>)
Responses Re: @ versus ~, redux  ("Zeugswetter Andreas DCP SD" <ZeugswetterA@spardat.at>)
Re: @ versus ~, redux  (Jeff Davis <pgsql@j-davis.com>)
List pgsql-hackers
Jeff Davis <pgsql@j-davis.com> writes:
> On Mon, 2006-09-04 at 10:45 -0400, Tom Lane wrote:
>> The existing geometric containment tests seem to be nonstrict, so if we
>> wanted to leave room to add strict ones later, it might be best to
>> settle on
>> 
>> x @>= y        x contains or equals y
>> x <=@ y        x is contained in or equals y
>> 
>> reserving @> and <@ for future strict comparison operators.

> At first glace, it seems more intuitive to me to do:

>     x @>= y        x contains or equals y
>     x =<@ y        y is contained in or equals y

Hm, I've never seen anyone spell "less than or equal to" as "=<",
so I'm not sure where you derive "=<@" from?  Not saying "no", but
the other seems clearer to me.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Christopher Browne
Date:
Subject: Re: Open items for 8.2
Next
From: Tom Lane
Date:
Subject: Re: Win32 hard crash problem