Re: log_line_info plan

Поиск
Список
Период
Сортировка
От Joshua D. Drake
Тема Re: log_line_info plan
Дата
Msg-id 4032D73A.4010305@commandprompt.com
обсуждение исходный текст
Ответ на log_line_info plan  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: log_line_info plan  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: log_line_info plan  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Andrew Dunstan wrote:
>
> 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?

My be kind of cool if we a a duration variable in there, especially if
combined with %I

J



>
> cheers
>
> andrew
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
>      subscribe-nomail command to majordomo@postgresql.org so that your
>      message can get through to the mailing list cleanly


--
Command Prompt, Inc., home of Mammoth PostgreSQL - S/ODBC and S/JDBC
Postgresql support, programming shared hosting and dedicated hosting.
+1-503-667-4564 - jd@commandprompt.com - http://www.commandprompt.com
Mammoth PostgreSQL Replicator. Integrated Replication for PostgreSQL

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: log_line_info plan
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: log_line_info plan