Re: Sigh, another contrib/cube and contrib/seg problem

Поиск
Список
Период
Сортировка
От Andrew - Supernews
Тема Re: Sigh, another contrib/cube and contrib/seg problem
Дата
Msg-id slrndbv9v4.192v.andrew+nonews@trinity.supernews.net
обсуждение исходный текст
Ответ на Sigh, another contrib/cube and contrib/seg problem  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Sigh, another contrib/cube and contrib/seg problem  (Josh Berkus <josh@agliodbs.com>)
Список 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 по дате отправления:

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: contrib/rtree_gist into core system?
Следующее
От: Andrew - Supernews
Дата:
Сообщение: Re: contrib/rtree_gist into core system?