| From: | Peter Eisentraut <peter_e(at)gmx(dot)net> | 
|---|---|
| To: | Dan Moschuk <dan(at)freebsd(dot)org> | 
| Cc: | pgsql-hackers(at)postgresql(dot)org | 
| Subject: | Re: -d 2 frustration | 
| Date: | 2000-10-13 19:14:57 | 
| Message-ID: | Pine.LNX.4.21.0010132113060.1022-100000@peter.localdomain | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-hackers | 
Dan Moschuk writes:
> Running postgres in -d 2 mode is a little frustrating on a server that 
> processes as little as 10 queries a second.  Can we not add getpid() or
> something to that code so that we might track which output belongs to
> which server a little easier?
If you're running 7.1-to-be, put "log_pid = on" in your postgresql.conf.  
For earlier versions, look for ELOG_TIMESTAMPS in src/include/config.h and
check out how to turn it on with the pg_options file.  (It's in the
documentation somewhere.)
-- 
Peter Eisentraut      peter_e(at)gmx(dot)net       http://yi.org/peter-e/
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2000-10-13 20:10:48 | Re: Re: [HACKERS] My new job | 
| Previous Message | Ross J. Reedstrom | 2000-10-13 19:11:19 | Re: TIOGA |