RE: [HACKERS] How do I get the backend server into gdb? - Mailing list pgsql-hackers

From Michael J Davis
Subject RE: [HACKERS] How do I get the backend server into gdb?
Date
Msg-id 93C04F1F5173D211A27900105AA8FCFC145438@lambic.prevuenet.com
Whole thread Raw
Responses Re: [HACKERS] How do I get the backend server into gdb?  (Bruce Momjian <maillist@candle.pha.pa.us>)
List pgsql-hackers
The problem I need to debug won't allow me to do this.  A Postgres
connection starts and then dies very quickly with a user authentication
error or database non existence error before I have a chance to attach to
the process via gdb.  I need to find out why postgres will not allow my
Access97 connection to succeed.  Pg_hba.conf appears to be configured
correctly (it was working and has not changed in past two months).  I need
to have the new postgres session start up in debug.
-----Original Message-----From:    The Hermit Hacker [SMTP:scrappy@hub.org]Sent:    Wednesday, April 28, 1999 10:19
AMTo:   Michael J DavisCc:    pgsql-hackers@postgreSQL.orgSubject:    RE: [HACKERS]  How do I get the backend server
into
gdb?

You can attach to a running process using gdb... 'gdb -t <pid>' orsomething like that...its been awhile since I've used
it,sorry...
 
On Wed, 28 Apr 1999, Michael J Davis wrote:
> I need to debug this connection problem I am having with Access97.
My> question is how can I get the new Postgres backend that starts up
for Access> into debug (gdb)?  I can get the PostMaster open in gdb.> > Thanks, Michael> 
Marc G. Fournier                   ICQ#7615664               IRC
Nick: ScrappySystems Administrator @ hub.org primary: scrappy@hub.org           secondary:
scrappy@{freebsd|postgresql}.org 


pgsql-hackers by date:

Previous
From: The Hermit Hacker
Date:
Subject: RE: [HACKERS] How do I get the backend server into gdb?
Next
From: Michael J Davis
Date:
Subject: RE: [HACKERS] How do I get the backend server into gdb?