Re: log_filename_prefix --> log_filename + strftime() - Mailing list pgsql-patches

From Tom Lane
Subject Re: log_filename_prefix --> log_filename + strftime()
Date
Msg-id 1839.1093634300@sss.pgh.pa.us
Whole thread Raw
In response to Re: log_filename_prefix --> log_filename + strftime()  (Andreas Pflug <pgadmin@pse-consulting.de>)
Responses Re: log_filename_prefix --> log_filename + strftime()  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: log_filename_prefix --> log_filename + strftime()  (Andreas Pflug <pgadmin@pse-consulting.de>)
List pgsql-patches
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.)

            regards, tom lane

pgsql-patches by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: log_filename_prefix --> log_filename + strftime()
Next
From: Bruce Momjian
Date:
Subject: Re: log_filename_prefix --> log_filename + strftime()