How does once create a spatial index on point data. I did the following and got the error given below. create table foo(x point); create index foo_x on foo using gist(x); ERROR: data type point has no default operator class for access method "gist" HINT: You must specify an operator class for the index or define a default operator class for the data type. Thanks.
Never mind. I found an earlier posting by Tom Lane related to this issue. ---------- Forwarded message ---------- From: s anwar <sanwar@gmail.com> Date: Aug 16, 2007 10:48 AM Subject: How to create a spatial index on point data. To: pgsql-novice@postgresql.org How does once create a spatial index on point data. I did the following and got the error given below. create table foo(x point); create index foo_x on foo using gist(x); ERROR: data type point has no default operator class for access method "gist" HINT: You must specify an operator class for the index or define a default operator class for the data type. Thanks.
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера