about GiST indexes

Started by Sergej Galkinabout 16 years ago2 messages
#1Sergej Galkin
sergej.galkin@gmail.com

Hello to all,
I'm a young programmer student, and I would like to realize TPR-index on
Postgresql system. Of course I want to use GiST template, rather than
writing core :)
I have some questions, and I would be very grateful if anybody answers my
question.
1) where could I know the prototypes of such functions as union, pentaly and
etc. And to read more detally than in PostgreSql documentation ?
2) How could I save in index structure index created time, and to get this
value when I envoking such procedures such as union, penalty, pick split ?

Best regards,
Sergej Galkin

#2Dimitri Fontaine
dfontaine@hi-media.com
In reply to: Sergej Galkin (#1)
Re: about GiST indexes

Hi,

Sergej Galkin <sergej.galkin@gmail.com> writes:

1) where could I know the prototypes of such functions as union,
pentaly and etc. And to read more detally than in PostgreSql
documentation ?

Have you read that yet?
http://www.postgresql.org/docs/8.4/interactive/gist-implementation.html

2) How could I save in index structure  index created time, and to get
this value when I envoking such procedures such as union, penalty,
pick split ?

I'm not sure I understand the questiom. Is the created time part of the
data you're indexing?
--
dim