Thanks, it's helpful. The flowchart is a very good point to start.
Cheers, Soroosh On Sat, May 18, 2013 at 7:56 PM, Atri Sharma <atri.j...@gmail.com> wrote: > > > Sent from my iPad > > On 18-May-2013, at 20:49, "Dickson S. Guedes" <lis...@guedesoft.net> > wrote: > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > Em 18-05-2013 11:40, Atri Sharma escreveu: > >> On 18-May-2013, at 20:01, Soroosh Sardari > >> <soroosh.sard...@gmail.com> wrote: > >> > >>> Hi > >>> > >>> I was tracing a simple SELECT query to find how pg works for > >>> fetching tuples. but I'm totally lost in the code. Could you > >>> help me to understand under the hood? I know about parsing and > >>> planning parts, my actual problem is executer. If you show me a > >>> road map to study, I would appreciate it. > >>> > >>> > >> > >> You can probably try: > >> > >> > http://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=src/backend/executor/README;h=8afa1e3e4a7596475cbf19a76c88d48a04aeef02;hb=HEAD > >> > > > > > > There > >> > >> > > is a cool flowchart too: > > > > http://www.postgresql.org/developer/backend/ > > > > Oh yes, I am in love with that flow chart.It is so easy and expressive! > > Regards, > > Atri