From: | Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl> |
---|---|
To: | gevik(at)xs4all(dot)nl |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: debugging PostgreSQL |
Date: | 2004-11-09 17:10:15 |
Message-ID: | 20041109171015.GC9935@surnet.cl |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Tue, Nov 09, 2004 at 09:16:34AM +0100, gevik(at)xs4all(dot)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)
From | Date | Subject | |
---|---|---|---|
Next Message | Simon Riggs | 2004-11-09 17:28:15 | Re: Call for objections: simplify stable functions |
Previous Message | Tom Lane | 2004-11-09 17:00:46 | Re: Reorganization of the translation files |