Re: [HACKERS] running bdg on postgresql`

From: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
To: Jenny - <nat_lazy(at)hotmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org
Subject: Re: [HACKERS] running bdg on postgresql`
Date: 2003-08-28 21:28:59
Message-ID: 20030828212859.GB11521@dcc.uchile.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

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)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Greg Stark 2003-08-28 21:31:57 Re: left outer join terrible slow compared to inner join
Previous Message Andrew Rawnsley 2003-08-28 21:27:55 erserver 1.2 problem

Browse pgsql-hackers by date

  From Date Subject
Next Message Carlos Guzman Alvarez 2003-08-28 21:35:32 PostgreSQL SSL Connections
Previous Message Jenny - 2003-08-28 21:11:26 running bdg on postgresql`