Re: PATCH: numeric timestamp in log_line_prefix

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: PATCH: numeric timestamp in log_line_prefix
Дата
Msg-id 1441657932.10365.11.camel@jeff-desktop
обсуждение исходный текст
Ответ на Re: PATCH: numeric timestamp in log_line_prefix  (Andres Freund <andres@2ndquadrant.com>)
Ответы Re: PATCH: numeric timestamp in log_line_prefix  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
On Sun, 2015-03-22 at 19:47 +0100, Andres Freund wrote:
> On 2015-03-22 00:47:12 +0100, Tomas Vondra wrote:
> > from time to time I need to correlate PostgreSQL logs to other logs,
> > containing numeric timestamps - a prime example of that is pgbench. With
> > %t and %m that's not quite trivial, because of timezones etc.
> 
> I have a hard time seing this is sufficient cause for adding more format
> codes. They're not free runtime and documentation wise. -0.5 from me.

I am about to commit this patch (the one that adds a single extra
option). Although nothing is free, the cost seems very low, and at least
three people have expressed interest in this patch.

What tips the balance is that we expose the unix epoch in the pgbench
logs, as Tomas points out.

Regards,Jeff Davis





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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: [patch] Proposal for \rotate in psql
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: PATCH: numeric timestamp in log_line_prefix