Re: Information about Access methods - Mailing list pgsql-hackers

From Craig Ringer
Subject Re: Information about Access methods
Date
Msg-id 5282D8F5.4000402@2ndquadrant.com
Whole thread Raw
In response to Re: Information about Access methods  (Rohit Goyal <rhtgyl.87@gmail.com>)
Responses Re: Information about Access methods  (Rohit Goyal <rhtgyl.87@gmail.com>)
List pgsql-hackers
On 11/13/2013 06:36 AM, Rohit Goyal wrote:
> Hi, 
> Thanks for document. It was really helpful. 
> Now, as index folder contains basically interface for all index type, do
> I need to change it, if I want to modify only b tree index algorithm?
> 
> Do I need to change only btree index files or Do i have to change index
> folder files like indexam.c

Without knowing what you are trying to do, it's really hard to answer
that usefully. In general if you want to modify b-tree indexes you'd
only have to modify the b-tree index implementation. If you want to add
new capabilities or features to the indexing system in general then use
them in b-tree, you'd probably also have to modify the access method
interface.

If you aren't just doing this for learning/research you should explain
in detail what you are trying to do. There is no point spending lots of
time creating a patch that would never get accepted into the PostgreSQL
core, so you have to maintain it forever more...


-- Craig Ringer                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: TODO : Allow parallel cores to be used by vacuumdb [ WIP ]
Next
From: Peter Eisentraut
Date:
Subject: Re: [COMMITTERS] pgsql: Replace duplicate_oids with Perl implementation