From: | Jim Nasby <jim(at)nasby(dot)net> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Martijn van Oosterhout <kleptog(at)svana(dot)org>, Merlin Moncure <mmoncure(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: No ~ operator for box, point |
Date: | 2007-01-26 21:14:55 |
Message-ID: | A16447CF-1CF7-47C7-AE63-8BAB47E4C151@nasby.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Jan 25, 2007, at 6:26 PM, Tom Lane wrote:
> 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.
Ok. If I ever get some time I'll submit a patch to bring everything
in-line (there's other missing operators as well).
>>> Also, I can't find the ~ operator defined for polygon in the
>>> documentation, am I missing something?
>
> ~ is deprecated, "contains" is preferentially spelled @> now.
Ok, I'll keep that in mind.
--
Jim Nasby jim(at)nasby(dot)net
EnterpriseDB http://enterprisedb.com 512.569.9461 (cell)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2007-01-26 21:15:46 | Re: Recursive query syntax ambiguity |
Previous Message | Magnus Hagander | 2007-01-26 21:10:20 | Re: VC2005 build and pthreads |