| От | Holger Klawitter |
|---|---|
| Тема | Re: Index on points |
| Дата | |
| Msg-id | 200406081630.57475.lists@klawitter.de обсуждение |
| Ответ на | Re: Index on points (Bruno Wolff III <bruno@wolff.to>) |
| Список | pgsql-general |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi!
> > SELECT p FROM tbl WHERE (p <-> point(0,0)) < 10;
> You want to create a box that includes all points that might match
> and use that to do an index search (using an rtree index) and then
> check that the distance is really less than whatever.
Thanks for the hint!
I was just too confused about the lack of point operators to think about
alternatives...
Mit freundlichem Gruß / With kind regards
Holger Klawitter
- --
lists <at> klawitter <dot> de
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQFAxc2h1Xdt0HKSwgYRAl47AJ0XF49Mr8OgPSwM5uULTOcp3nGVAgCfWWp9
NBrsrP1Fnu2+UCo63niQzjQ=
=/7qF
-----END PGP SIGNATURE-----
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера