Re: log_filename_prefix --> log_filename + strftime()

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: log_filename_prefix --> log_filename + strftime()
Дата
Msg-id 200408271936.i7RJaFw02163@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: log_filename_prefix --> log_filename + strftime()  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: log_filename_prefix --> log_filename + strftime()  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Tom Lane wrote:
> Andreas Pflug <pgadmin@pse-consulting.de> writes:
> > I don't have the time now to review the impact, but this might make
> > interpreting the log filename difficult or impossible, effectively
> > corrupting pg_logdir_ls.
>
> So if you want to use that, you use a format that it can cope with.
> I don't see a problem.
>
> (This is probably an OK reason to keep the default log_filename in
> Y/M/D/H/M/S style, though, rather than ".epoch" style.)

Ah, so we keep the existing format but drop the pid, and just make it
changable by the user, and we rename it.  Doesn't sound as drastic as it
first did.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

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

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