Skip site navigation (1) Skip section navigation (2)

Re: debug query execution

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "vadym nikolaiev" <vadym(dot)nikolaiev(at)gmail(dot)com>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: debug query execution
Date: 2011-10-28 15:59:06
Message-ID: 4EAA8AFA020000250004281D@gw.wicourts.gov (view raw or flat)
Thread:
Lists: pgsql-hackers
vadym nikolaiev <vadym(dot)nikolaiev(at)gmail(dot)com> wrote:
 
> I would like to ask you which sources are responsible for execute
> queries in PostgreSQL?
 
http://wiki.postgresql.org/wiki/Developer_FAQ#How_is_the_source_code_organized.3F
 
> ( i would like to run a simple query and debug it execution on
> PostgreSql server for understanding how PostgeSql does query
> processing internally)
 
Pick any function you know will be executed, set a breakpoint, get a
stacktrace from there, and pick where you want to get in next time
you run the query.
 
-Kevin

In response to

pgsql-hackers by date

Next:From: Robert HaasDate: 2011-10-28 16:01:25
Subject: Re: Documentation mistake
Previous:From: Tristan WrightDate: 2011-10-28 15:46:07
Subject: Clarification on item on Todo List

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group