From: | Rohit Goyal <rhtgyl(dot)87(at)gmail(dot)com> |
---|---|
To: | Peter Geoghegan <pg(at)heroku(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Call flow of btinsert(PG_FUNCTION_ARGS) |
Date: | 2013-11-19 10:31:12 |
Message-ID: | CANqGtStoTgiEn8fJEwjdM8rsOOQoYEeBW9=Kvy2T+O_Uw9hS9g@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Tue, Nov 19, 2013 at 11:26 AM, Peter Geoghegan <pg(at)heroku(dot)com> wrote:
> On Tue, Nov 19, 2013 at 2:22 AM, Rohit Goyal <rhtgyl(dot)87(at)gmail(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Rajeev rastogi | 2013-11-19 10:35:09 | Re: COPY table FROM STDIN doesn't show count tag |
Previous Message | Craig Ringer | 2013-11-19 10:30:01 | Re: Windows build patch |