[postgis-devel] Regarding Sp-gist implementation in postgis

Sandro Santilli strk at keybit.net
Thu Jul 17 08:04:31 PDT 2014


On Thu, Jul 17, 2014 at 05:21:58PM +0530, mohit kumar wrote:
> Hi all,
> I am facing a couple of issues while testing the indexing on a table of
> points.
> The error comes as:
> 
> mohit=# create index timepas3 on points using spgist (g);
> ERROR:  missing support function 1 for attribute 1 of index "timepas3"
> 
> But all the support functions described here
> <http://www.postgresql.org/docs/9.2/static/xindex.html> are already
> declared in the postgis.sql.in file.
> I have updated the code in spgist branch of my repository
> https://github.com/mohitkharb/postgis/tree/spgist

There are no operators defined for your opclass ?
They are all commented out:
https://github.com/mohitkharb/postgis/blob/20b467a5/postgis/postgis.sql.in#L754-L767

--strk;



More information about the postgis-devel mailing list