Martijn van Oosterhout <kleptog(at)svana(dot)org> writes:
> On Thu, Jan 25, 2007 at 01:59:33PM -0500, Merlin Moncure wrote:
>> On 1/25/07, Jim C. Nasby <jim(at)nasby(dot)net> wrote:
>>> decibel=# select box '((0,0),(2,2))' ~ point '(1,1)';
>>> ERROR: operator does not exist: box ~ point
>>
>> I don't see a reason, although you can do it with polygon and not box.
Seems like an old oversight.
>> Also, I can't find the ~ operator defined for polygon in the
>> documentation, am I missing something?
~ is deprecated, "contains" is preferentially spelled @> now.
regards, tom lane