Re: [HACKERS] running bdg on postgresql` - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: [HACKERS] running bdg on postgresql`
Date
Msg-id 20030828212859.GB11521@dcc.uchile.cl
Whole thread Raw
In response to running bdg on postgresql`  ("Jenny -" <nat_lazy@hotmail.com>)
List pgsql-general
On Thu, Aug 28, 2003 at 02:11:26PM -0700, Jenny - wrote:
> hi ,
> iam trying to run gdb on postgresql to stack-trace the functions that get
> called  when a lock is taken.
> >gdb *program*
> what do i pass in place of program inorder to run gdb on postgresqql

After the backend is running, get its PID from ps(1) and do

gdb path-to-postgres-executable pid-of-same

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"Ciencias políticas es la ciencia de entender por qué
los políticos actúan como lo hacen"  (netfunny.com)

pgsql-general by date:

Previous
From: "Jenny -"
Date:
Subject: running bdg on postgresql`
Next
From: Greg Stark
Date:
Subject: Re: left outer join terrible slow compared to inner join