Re: debug query execution - Mailing list pgsql-hackers

From Kevin Grittner
Subject Re: debug query execution
Date
Msg-id 4EAA8AFA020000250004281D@gw.wicourts.gov
Whole thread Raw
In response to debug query execution  (vadym nikolaiev <vadym.nikolaiev@gmail.com>)
List pgsql-hackers
vadym nikolaiev <vadym.nikolaiev@gmail.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


pgsql-hackers by date:

Previous
From: Gurjeet Singh
Date:
Subject: Re: Unreproducible bug in snapshot import code
Next
From: Robert Haas
Date:
Subject: Re: Documentation mistake