Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] keeping track of connections

From: dg(at)illustra(dot)com (David Gould)
To: voss(at)vocalweb(dot)de
Cc: brett(at)work(dot)chicken(dot)org, maillist(at)candle(dot)pha(dot)pa(dot)us, pgsql-hackers(at)hub(dot)org
Subject: Re: [HACKERS] keeping track of connections
Date: 1998-06-03 18:58:22
Message-ID: 9806031858.AA01736@hawk.illustra.com (view raw or flat)
Thread:
Lists: pgsql-hackers
Ulrich Voss writes: 
> Massimo had a patch, which added the pid in the first field of the 
> debug output (and I guess a timestamp). So you can easily 
> sort/grep/trace the debug output. 
> 
> Perhaps this would help and should be really easy.
> 
> BTW., I think this feature is so neat, it should be integrated even 
> if it doesn't solve *your* problem ;-)

This is very very helpful when trying to debug interactions between backends
too. For example if something blows up in the lock manager this can give
a record of who did what to who when.

Great idea.
-dg


David Gould            dg(at)illustra(dot)com           510.628.3783 or 510.305.9468 
Informix Software  (No, really)         300 Lakeside Drive  Oakland, CA 94612
"Don't worry about people stealing your ideas.  If your ideas are any
 good, you'll have to ram them down people's throats." -- Howard Aiken

In response to

pgsql-hackers by date

Next:From: David GouldDate: 1998-06-03 19:50:00
Subject: Re: [HACKERS] keeping track of connections
Previous:From: Ulrich VossDate: 1998-06-03 16:38:43
Subject: Re: [HACKERS] keeping track of connections

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group