hi, thanks for writing
I'm doing research about spatial access methods( reading a lot of papers and programming a lot too ) but also I want to know how can I add my new data structure( if someday i get it, of course =) ) in the postgresql;in order to do so, first I have to know how the R-tree works with the postgreql, I mean, I already know the R-tree algorithms but I don't know how does the R-tree interfaces with postgresql.
I hope you can help me
regards Jorge
On 10/4/06, Tom Lane <tgl@sss.pgh.pa.us> wrote: "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