running bdg on postgresql`

Поиск
Список
Период
Сортировка
Искать

running bdg on postgresql`

От:
"Jenny -" <nat_lazy@hotmail.com>
Дата:
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

Re: [HACKERS] running bdg on postgresql`

От:
Alvaro Herrera <alvherre@dcc.uchile.cl>
Дата:
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 ()
"Ciencias políticas es la ciencia de entender por qué
los políticos actúan como lo hacen"  (netfunny.com)
FAQ