| От | Tom Lane |
|---|---|
| Тема | Re: Index on points |
| Дата | |
| Msg-id | 19784.1285437873@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Index on points (Jeff Davis <pgsql@j-davis.com>) |
| Ответы |
Re: Index on points
|
| Список | pgsql-general |
Jeff Davis <pgsql@j-davis.com> writes:
> There's no reason that there couldn't be a point <@ box operator in the
> opclass, but nobody really uses these geometric types that come with
> core postgres (at least, not that I can tell).
Actually, as of 9.0 there is a point_ops opclass for GIST, with these
indexable operators:
>^(point,point)
<<(point,point)
>>(point,point)
<^(point,point)
~=(point,point)
<@(point,box)
<@(point,polygon)
<@(point,circle)
I agree that for any more than light-duty geometric work, you ought
to look at PostGIS.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера