Re: Request for information || Begining flow of postgresql

From: Luca Ferrari <fluca1978(at)infinito(dot)it>
To: Rohit Goyal <rhtgyl(dot)87(at)gmail(dot)com>
Cc: "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Request for information || Begining flow of postgresql
Date: 2013-11-19 10:29:37
Message-ID: CAKoxK+6fp2HMOfoZSEWHtgTm0=MXHjR62dyJfRMCYQz9a_bG_g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Tue, Nov 19, 2013 at 10:22 AM, Rohit Goyal <rhtgyl(dot)87(at)gmail(dot)com> wrote:

> For example, if I insert a anew row into a table, then a new row in index
> will be inserted. I would like to know the sequential flow of functions or
> files called to insert data into a btree.
>

First of all, this is not a topic for the novice mailing list, rather
for the hackers one.
By I warn you, before asking there, you should have a look at the
documentation about PostgreSQL for developers and try to attach a
debugger to a live session in order to see what is happening behind
the scene.
In the meantime start reading all the READMEs in the backend source
tree, have a look at PageAddItem in storage/page/bufpage.c and
_bt_doinsert in access/nbtree/nbtinsert.c, this should give you an
idea about your questions.

Luca

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Kevin Grittner 2013-11-19 22:35:14 Re: Transaction Id and status of any operation
Previous Message Rohit Goyal 2013-11-19 09:22:43 Re: Request for information || Begining flow of postgresql