log_line_info plan - Mailing list pgsql-hackers

From Andrew Dunstan
Subject log_line_info plan
Date
Msg-id 4032CA84.1090509@dunslane.net
Whole thread Raw
In response to Re: How can I have 2 completely seperated databases in  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: log_line_info plan
Re: log_line_info plan
List pgsql-hackers
I am about to redo the patch that would allow tagging of log lines with 
info via a printf-style string.

Current plans are to call the config parameter "log_line_info" and 
implement the following escapes:

%U = user
%D = database
%T = timestamp
%P = pid
%L = session log line number
%C = sessionid cookie (hex encoded session start time + pid)
%S = session start timestamp
%I = Command Tag (e.g. "CREATE TABLE")

Any comments or suggestions before I start?

cheers

andrew




pgsql-hackers by date:

Previous
From: "Greg Sabino Mullane"
Date:
Subject: Re: [GENERAL] Check for prepared statement
Next
From: "Joshua D. Drake"
Date:
Subject: Re: log_line_info plan