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

From Bruce Momjian
Subject Re: log_filename_prefix --> log_filename + strftime()
Date
Msg-id 200408271936.i7RJaFw02163@candle.pha.pa.us
Whole thread Raw
In response to Re: log_filename_prefix --> log_filename + strftime()  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: log_filename_prefix --> log_filename + strftime()  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: log_filename_prefix --> log_filename + strftime()
Next
From: Tom Lane
Date:
Subject: Re: log_filename_prefix --> log_filename + strftime()