Re: Interface of the R-tree in order to work with postgresql - Mailing list pgsql-novice

From Tom Lane
Subject Re: Interface of the R-tree in order to work with postgresql
Date
Msg-id 7499.1160021489@sss.pgh.pa.us
Whole thread Raw
In response to Interface of the R-tree in order to work with postgresql  ("jorge alberto" <jorge.is.a.geek@gmail.com>)
Responses Re: Interface of the R-tree in order to work with postgresql  ("jorge alberto" <jorge.is.a.geek@gmail.com>)
List pgsql-novice
"jorge alberto" <jorge.is.a.geek@gmail.com> writes:
> I want to know how can I add a new spatial access method into the
> postgresql,

Developing a new index access method is hardly a novice-level task.
Are you sure you need to do that?  Perhaps you can accomplish what
you want by making a new datatype and interfacing it to GiST indexes.
That's still a pretty large chunk to bite off, but there are examples
available --- look into the contrib/ directory to find existing add-on
datatypes that have GiST indexing capability.  The documentation for
this area is weak.  Be prepared to read source code ...

            regards, tom lane

pgsql-novice by date:

Previous
From: "jorge alberto"
Date:
Subject: Interface of the R-tree in order to work with postgresql
Next
From: Stuart Bishop
Date:
Subject: Re: Conditional INSERT: if not exists