From: | Alexey Klyukin <alexk(at)commandprompt(dot)com> |
---|---|
To: | Pedro Belmino <pedrobelmino(at)gmail(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Debugger |
Date: | 2007-10-19 13:04:46 |
Message-ID: | 20071019130446.GA12490@commandprompt.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
PostgreSQL consists of multiple processes, launched by postmaster, make
sure you are debugging the right one. After connecting to a database
with your favorite client (i.e. psql) you can use ps (if you have a
unix-like system) or a task manager to determine a pid of postgres
process and then attach to that process with a debugger.
Pedro Belmino wrote:
> Hellow,
> I continue to have problems using the debugger, can not achieve any
> breakpoint that is outside the postmaster.c? Can anyone give me any hint?
> Where do I mark a breakpoint so that I can follow the creation of an index
> to file index.c for example?
> Thank,
>
> --
> Pedro Belmino.
> --------------------------------------------------------------------
> # Ciência da Computação - UNIFOR
> # pedrobelmino(at)gmail(dot)com
> --------------------------------------------------------------------
--
Alexey Klyukin http://www.commandprompt.com/
The PostgreSQL Company - Command Prompt, Inc.
From | Date | Subject | |
---|---|---|---|
Next Message | Magnus Hagander | 2007-10-19 13:07:57 | Re: max_prepared_transactions default ... why 5? |
Previous Message | Tom Lane | 2007-10-19 13:00:30 | Re: max_prepared_transactions default ... why 5? |