Re: Fwd: Test of Algorithm || Indexing Scheme - Mailing list pgsql-hackers

From Rohit Goyal
Subject Re: Fwd: Test of Algorithm || Indexing Scheme
Date
Msg-id CANqGtSvbBPjMSU3+dfr-vTtCUKF5g2v58P6Fpt49yp+Hx9arfg@mail.gmail.com
Whole thread Raw
In response to Re: Fwd: Test of Algorithm || Indexing Scheme  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Responses Re: Fwd: Test of Algorithm || Indexing Scheme
List pgsql-hackers
Hi, 
Thanks for reply.
I actually want to make some changes in all operations on index like insert, update, delete.
for example, i want store a new customized value for every key inserted in b tree instead of storing Tuple Id as value.

Can you also pls explain me more about appoach to follow to use my algorithm as GiST opclass. I dont have much knowledge abt this also?

Regards,
Rohit Goyal


On Mon, Nov 11, 2013 at 12:31 PM, Heikki Linnakangas <hlinnakangas@vmware.com> wrote:
On 11.11.2013 13:19, Rohit Goyal wrote:
Hi All,

I want to implement and test my indexing approach.
I would like to know which are the main files to look for b tree indexing
scheme modification.

It would be great, if can share some helpful links which are needed to
understand how to modify and test an indexing scheme in postgresql.

You didn't give any details on what kind of changes you want to make, so hard to tell. The code for the btree access method is in src/backend/access/nbtree. See the README in that directory for the gory details.

Also consider implementing your algorithm as a GiST opclass, instead of changing the internals.

- Heikki



--
Regards,
Rohit Goyal

pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Fwd: Test of Algorithm || Indexing Scheme
Next
From: Tom Lane
Date:
Subject: Re: Execute query with EXCEPT, INTERSECT as anti-join, join?