Re: log_filename_prefix --> log_filename + strftime()

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: log_filename_prefix --> log_filename + strftime()
Дата
Msg-id 1790.1093634156@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: log_filename_prefix --> log_filename + strftime()  ("Ed L." <pgsql@bluepolka.net>)
Ответы Re: log_filename_prefix --> log_filename + strftime()  ("Ed L." <pgsql@bluepolka.net>)
Список pgsql-patches
"Ed L." <pgsql@bluepolka.net> writes:
> On Friday August 27 2004 1:03, Tom Lane wrote:
>> Hmm ... there isn't any way to emulate that with strftime escapes,
>> unless I missed the right one.

> If you supply an escape, Apache will override that default epoch.  So I
> could see setting the default to "server_log" or "postgresql_log" or
> whatever, and making the default (with no escapes supplied) be the epoch.
> That would be easy tweak, and be much closer to Apache style.

Yeah, and it would also prevent a risk I now see with your initial
patch: if no %, it'll write the same filename each time, which
is almost certainly not desired.  Works for me.

            regards, tom lane

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

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