Re: operator @> does not work with box.

Поиск
Список
Период
Сортировка
От Frank Bax
Тема Re: operator @> does not work with box.
Дата
Msg-id BLU0-SMTP5124143E113078E25257CDAC8C0@phx.gbl
обсуждение исходный текст
Ответ на Re: operator @> does not work with box.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-novice
Tom Lane wrote:
> A B <gentosaker@gmail.com> writes:
>> I do
>> select box '((0,0),(1,1))' @> point '(0,0)';
>> and I get this:
>> ERROR:  operator does not exist: box @> point
>
>> I'm using 8.4.4 and I feel confused. What am I doing wrong here?
>
> Nothing --- there isn't any box @> point operator, although there
> is the commutator case point <@ box.  (I see Teodor fixed this
> omission for 9.0.)


I notice that @ is accepted as an operator (at least in 8.4.1)?

box @ point is equivalent to box @> point
point @ box is equivalent to point <@ box

It's not listed in 8.4 doc pages online.

В списке pgsql-novice по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Installing temporal "period" data type and support functions
Следующее
От: Sachin Srivastava
Дата:
Сообщение: Fwd: Re: Fwd: StackBuilder can't fetch application list?