custom index

From: michael uwe maier <gtrw23(at)web(dot)de>
To: pgsql-general(at)postgresql(dot)org
Subject: custom index
Date: 2010-03-01 13:52:41
Message-ID: 1267451561.9580.3.camel@schreihals
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi ,

i want to develop an index for a special problem.
The postgres docs shows the necessary bits in
http://www.postgresql.org/docs/8.4/interactive/indexam.html
especially paragraph 50.2 "Index Access Method Functions".

Now my question: can i use the (documented) Server Programming
interface within this functions (e.g. SPI_exec within ambuild)
or do i need to use other (possibly undocumented) functions.
Background: The index needs some metadata which can be created
within "normal" tables. Otherwise this information must be built
within the index.

And as an appendix to my question: Are there any (simple) examples
for custom indexes ?

greetings
uwe

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2010-03-01 15:39:21 Re: continuous copy/update one table to another
Previous Message C. Bensend 2010-03-01 13:28:16 Re: Confusion about users and roles