On Tue, Nov 19, 2013 at 11:26 AM, Peter Geoghegan <p...@heroku.com> wrote:
> On Tue, Nov 19, 2013 at 2:22 AM, Rohit Goyal <rhtgyl...@gmail.com> wrote: > > > > I was reading b tree index code and I wanted to the know the calling > > function which calls btinsert(PG_FUNCTION_ARGS) function in nbtree.c > file. > > Moreover, my goal behind reading this function was to check how tuple is > > inserted in btree. > > I want to understand the code flow for b tree index > > Take a look at this: > > http://www.postgresql.org/docs/9.3/static/index-functions.html > > > -- > Peter Geoghegan > thanks for reply. :) Moreover, I am so confused about reading the nbtree folder c files or the file which you gave. For example, If I want to read how the data is inserted in B tree index. Should I read your link or the btinsert(PG_FUNCTION_ARGS) in nbtree.c file in nbtree folder. In future, if i want to modify btree indexing approach, then which files to look for.? -- Regards, Rohit Goyal