Re: debugging PostgreSQL

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: debugging PostgreSQL
Дата
Msg-id 20041109171015.GC9935@surnet.cl
обсуждение исходный текст
Ответ на debugging PostgreSQL  (gevik@xs4all.nl)
Список pgsql-hackers
On Tue, Nov 09, 2004 at 09:16:34AM +0100, gevik@xs4all.nl wrote:

> Could someone be so kind to give me some pointers about how
> to debug pg. I would like to know which debugger you use under windows and
> linux

GDB.  The mechanism is simple: start a connection, and in a terminal
window get the backend's PID with ps(1), then call gdb -p <pid>.

I assume this would also work with other debuggers or GDB frontends, but
I haven't tried.

-- 
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"El número de instalaciones de UNIX se ha elevado a 10,
y se espera que este número aumente" (UPM, 1972)



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Reorganization of the translation files
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Call for objections: simplify stable functions