Re: Sigh, another contrib/cube and contrib/seg problem - Mailing list pgsql-hackers

From Andrew - Supernews
Subject Re: Sigh, another contrib/cube and contrib/seg problem
Date
Msg-id slrndbv9v4.192v.andrew+nonews@trinity.supernews.net
Whole thread Raw
In response to Sigh, another contrib/cube and contrib/seg problem  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Sigh, another contrib/cube and contrib/seg problem
List pgsql-hackers
On 2005-06-27, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> I just noticed that these two modules define operator @ as "contains"
> and operator ~ as "contained by", which is opposite to the meanings used
> by every other datatype.

These operators are fundamentally confusing because they give no visual
indication as to which operand is the "larger" one.

I'd consider replacing them with something clearer, perhaps @< and @> ?
(i.e. (a @< b) would mean "a is contained by b" and (a @> b) would mean
"a contains b")

-- 
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services


pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: contrib/rtree_gist into core system?
Next
From: Andrew - Supernews
Date:
Subject: Re: contrib/rtree_gist into core system?