Re: operator @> does not work with box. - Mailing list pgsql-novice

From Tom Lane
Subject Re: operator @> does not work with box.
Date
Msg-id 21771.1283434875@sss.pgh.pa.us
Whole thread Raw
In response to operator @> does not work with box.  (A B <gentosaker@gmail.com>)
Responses Re: operator @> does not work with box.  (Frank Bax <fbax@sympatico.ca>)
List pgsql-novice
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.)

            regards, tom lane

pgsql-novice by date:

Previous
From: A B
Date:
Subject: operator @> does not work with box.
Next
From: "Turner, John J"
Date:
Subject: Re: Installing temporal "period" data type and support functions