Re: log_line_info

Bruce Momjian <pgman@candle.pha.pa.us>

From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: PostgreSQL Development <pgsql-hackers@postgresql.org>
Date: 2004-02-17T19:50:09Z
Lists: pgsql-hackers
Andrew Dunstan wrote:
> Rod Taylor wrote:
> 
> >>and I'm willing to entertain other suggestions.
> >>    
> >>
> >
> >Very nice, but you missed the most important. Command Tag.
> >  
> >
> 
> I've had a brief look at this proposal (to allow reporting of the 
> command tag along with username, database, session cookie etc on each 
> log line). I'm wondering where the best place to collect it might be. I 
> thought that having it set in set_ps_display() might work. Thoughts?

Command tag?  Interesting addition.  Yes, I would grab it just like the
ps_display does.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073