Re: PATCH: numeric timestamp in log_line_prefix

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: PATCH: numeric timestamp in log_line_prefix
Дата
Msg-id 1441663374.10365.32.camel@jeff-desktop
обсуждение исходный текст
Ответ на Re: PATCH: numeric timestamp in log_line_prefix  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: PATCH: numeric timestamp in log_line_prefix  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
On Mon, 2015-09-07 at 18:28 -0300, Alvaro Herrera wrote:
> I noticed %t, but I don't think we care since the precision is so poor.
> Making m and n work in unison seems enough.  I think it would be
> reasonably simple to handle %t in the same way, but I'm not sure we
> care.

OK.

> I think the extra ugliness is warranted, since it's not THAT much
> additional ugliness, and not doing it could be considered a regression;
> apparently strftime can be slower even than snprintf, so doing it twice
> per log message might be excessive overhead.

Patch attached. Please take a quick look.

Regards,
    Jeff Davis




Вложения

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

Предыдущее
От: Alexander Korotkov
Дата:
Сообщение: Re: WIP: Rework access method interface
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: PATCH: numeric timestamp in log_line_prefix