Re: operator @> does not work with box.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: A B <gentosaker(at)gmail(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: operator @> does not work with box.
Date: 2010-09-02 13:41:15
Message-ID: 21771.1283434875@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

A B <gentosaker(at)gmail(dot)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

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Turner, John J 2010-09-02 14:27:12 Re: Installing temporal "period" data type and support functions
Previous Message Henk van Lingen 2010-09-02 08:23:33 Re: Forcing the right queryplan