Re: How can I have 2 completely seperated databases in

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: How can I have 2 completely seperated databases in
Дата
Msg-id 402B9D36.4010504@dunslane.net
обсуждение исходный текст
Ответ на Re: How can I have 2 completely seperated databases in  (Rod Taylor <pg@rbt.ca>)
Ответы Re: How can I have 2 completely seperated databases in  (Rod Taylor <rbt@rbt.ca>)
log_line_info plan  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Rod Taylor wrote:

>Last time I looked,
>you couldn't get the database name in the log files to allow for
>mechanical filtering
>

Watch this space.When my log_disconnections patch makes it through the 
filter process it will be followed up with a patch that allows tagging 
of log lines with a printf-style string.

My current thinking is to provide 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

and I'm willing to entertain other suggestions.

cheers

andrew



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Circular-freelist bug is still there
Следующее
От: Joshua Drake
Дата:
Сообщение: Re: How can I have 2 completely seperated databases in