Re: [HACKERS] Call flow of btinsert(PG_FUNCTION_ARGS)

2013-11-19 Thread Craig Ringer
On 11/19/2013 08:11 PM, Rohit Goyal wrote: > > Also what I understood from your reply is that everything is abstracted, > so am doesnot care abt backend implementation. Now, I want to modify B > tree indexing scheme. So, which files I should focus ? Depends on whether you can do what you want wit

Re: [HACKERS] Call flow of btinsert(PG_FUNCTION_ARGS)

2013-11-19 Thread Andres Freund
Hi Rohit, On 2013-11-19 13:11:12 +0100, Rohit Goyal wrote: > Please tel me how to attached gdb to pid and debug. > Also what I understood from your reply is that everything is abstracted, so > am doesnot care abt backend implementation. Now, I want to modify B tree > indexing scheme. So, which fi

Re: [HACKERS] Call flow of btinsert(PG_FUNCTION_ARGS)

2013-11-19 Thread Rohit Goyal
On Tue, Nov 19, 2013 at 11:52 AM, Craig Ringer wrote: > On 11/19/2013 06:22 PM, Rohit Goyal wrote: > > Hi All, > > > > I was reading b tree index code and I wanted to the know the calling > > function which calls btinsert > > < > http://doxygen.postgresql.org/nbtree_8c.html#a2b69e4abd6e38fbb317a50

Re: [HACKERS] Call flow of btinsert(PG_FUNCTION_ARGS)

2013-11-19 Thread Craig Ringer
On 11/19/2013 06:22 PM, Rohit Goyal wrote: > Hi All, > > I was reading b tree index code and I wanted to the know the calling > function which calls btinsert > (PG_FUNCTION_ARGS >

Re: [HACKERS] Call flow of btinsert(PG_FUNCTION_ARGS)

2013-11-19 Thread Amit Langote
On Tue, Nov 19, 2013 at 7:31 PM, Rohit Goyal wrote: > > > > On Tue, Nov 19, 2013 at 11:26 AM, Peter Geoghegan wrote: >> >> On Tue, Nov 19, 2013 at 2:22 AM, Rohit Goyal wrote: >> > >> > I was reading b tree index code and I wanted to the know the calling >> > function which calls btinsert(PG_FUNC

Re: [HACKERS] Call flow of btinsert(PG_FUNCTION_ARGS)

2013-11-19 Thread Rohit Goyal
On Tue, Nov 19, 2013 at 11:26 AM, Peter Geoghegan wrote: > On Tue, Nov 19, 2013 at 2:22 AM, Rohit Goyal 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 behin

Re: [HACKERS] Call flow of btinsert(PG_FUNCTION_ARGS)

2013-11-19 Thread Peter Geoghegan
On Tue, Nov 19, 2013 at 2:22 AM, Rohit Goyal 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.

[HACKERS] Call flow of btinsert(PG_FUNCTION_ARGS)

2013-11-19 Thread Rohit Goyal
Hi All, I was reading b tree index code and I wanted to the know the calling function which calls btinsert (PG_FUNCTION_ARGS) function in nb