Re: PATCH: numeric timestamp in log_line_prefix

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема Re: PATCH: numeric timestamp in log_line_prefix
Дата
Msg-id alpine.DEB.2.10.1503222020560.14445@sto
обсуждение исходный текст
Ответ на Re: PATCH: numeric timestamp in log_line_prefix  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
>> The proposed format is much simpler to manage in a script, and if you're
>> interested in runtime, its formatting would be less expensive than %t and
>> %m.
>
> Maybe, but do we really need two?  How about just %M?

I guess Tomas put 2 formats because there was 2 time formats to begin 
with, but truncating/rouding if someone really wants seconds is quite 
easy.

> Also, having just one would open the door to calling it something like
> %u (for Unix timestamp),

I guess that is okay as well.

-- 
Fabien.



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

Предыдущее
От: didier
Дата:
Сообщение: Re: PATCH: pgbench - merging transaction logs
Следующее
От: Вадим Горбачев
Дата:
Сообщение: proposal GSoC 2015 task: Allow access to the database via HTTP