| From: | Gregory Stark <stark(at)enterprisedb(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:16:20 |
| Message-ID: | 87hcknmehn.fsf@oxford.xeocode.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
"Pedro Belmino" <pedrobelmino(at)gmail(dot)com> writes:
> 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?
You have to start up your psql or other client run "SELECT pg_backend_pid();"
and attach to that process in the debugger. It sounds like you've connected to
the postmaster which doesn't actually do any of the work, it just forks other
backends.
--
Gregory Stark
EnterpriseDB http://www.enterprisedb.com
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Magnus Hagander | 2007-10-19 13:29:26 | Re: Strange error dropping foreign key |
| Previous Message | Magnus Hagander | 2007-10-19 13:07:57 | Re: max_prepared_transactions default ... why 5? |