From: | Craig Ringer <craig(at)2ndquadrant(dot)com> |
---|---|
To: | Rohit Goyal <rhtgyl(dot)87(at)gmail(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Information about Access methods |
Date: | 2013-11-13 01:42:13 |
Message-ID: | 5282D8F5.4000402@2ndquadrant.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | David Johnston | 2013-11-13 01:49:00 | Re: MVCC snapshot timing |
Previous Message | Bruce Momjian | 2013-11-13 01:39:35 | Re: MVCC snapshot timing |