How to create a spatial index on point data.

From: "s anwar" <sanwar(at)gmail(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: How to create a spatial index on point data.
Date: 2007-08-16 17:48:54
Message-ID: 3e3c86f90708161048g43e7e2eeh8d053a80f431a221@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

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.

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message s anwar 2007-08-16 21:13:16 Fwd: How to create a spatial index on point data.
Previous Message Tom Lane 2007-08-16 14:28:19 Re: rogue process maxing cpu and unresponsive to signals