operator @> does not work with box.

Поиск
Список
Период
Сортировка
От A B
Тема operator @> does not work with box.
Дата
Msg-id AANLkTino+GOHU=TzOOaE8zN3FhpLKfHNDiynb5z0UxOV@mail.gmail.com
обсуждение исходный текст
Ответы Re: operator @> does not work with box.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-novice
I do

select circle '((0,0),3)' @> point '(0,0)';

and I get true.

I do

select box '((0,0),(1,1))' @> point '(0,0)';

and I get this:

ERROR:  operator does not exist: box @> point
ROW 1: select box '((0,0),(1,1))' @> point '(0,0)';
                                  ^
HINT:  No operator matches the given name and argument type(s). You
might need to add explicit type casts.

I'm using 8.4.4 and I feel confused. What am I doing wrong here?

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

Предыдущее
От: Mladen Gogala
Дата:
Сообщение: Re: Create or replace row in table
Следующее
От: Tom Lane
Дата:
Сообщение: Re: operator @> does not work with box.