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
thanks
jenny

_________________________________________________________________
Get MSN 8 and help protect your children with advanced parental controls.  
http://join.msn.com/?page=features/parental


Thu, 28 Aug 2003 14:11:26 -0700
"Jenny -" <nat_lazy@hotmail.com>
running bdg on postgresql`
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)

Thu, 28 Aug 2003 17:28:59 -0400
Alvaro Herrera <alvherre@dcc.uchile.cl>
Re: [HACKERS] running bdg on postgresql`