Re: Debugger

Поиск
Список
Период
Сортировка
От Gregory Stark
Тема Re: Debugger
Дата
Msg-id 87hcknmehn.fsf@oxford.xeocode.com
обсуждение исходный текст
Ответ на Debugger  ("Pedro Belmino" <pedrobelmino@gmail.com>)
Ответы Re: Debugger  ("Pedro Belmino" <pedrobelmino@gmail.com>)
Список pgsql-hackers
"Pedro Belmino" <pedrobelmino@gmail.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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Magnus Hagander"
Дата:
Сообщение: Re: max_prepared_transactions default ... why 5?
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: Strange error dropping foreign key