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) ---------------------------(end of broadcast)--------------------------- TIP 8: explain analyze is your friend