Re: log_filename_prefix --> log_filename + strftime()

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: log_filename_prefix --> log_filename + strftime()
Дата
Msg-id 24084.1093929576@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: log_filename_prefix --> log_filename + strftime()  ("Ed L." <pgsql@bluepolka.net>)
Список pgsql-patches
"Ed L." <pgsql@bluepolka.net> writes:
> One idea for handling the round-to-localtime issue from the other end of the
> problem:  optionally rotate logs upon an *interpolated* filename change.

The code-as-committed wants to be able to predict the time change in
advance.  I'm not totally wedded to that, but I don't want to do a
strftime every time through the main loop, either ...

> I also noticed pg_tm.tm_gmtoff is apparently not set, at least not for my
> local (US MT).

It works for me.  You want to look into why not for you?

            regards, tom lane

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

Предыдущее
От: "Ed L."
Дата:
Сообщение: Re: log_filename_prefix --> log_filename + strftime()
Следующее
От: Andreas Pflug
Дата:
Сообщение: Re: log_filename_prefix --> log_filename + strftime()