Re: log_filename_prefix --> log_filename + strftime()

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>, "Ed L(dot)" <pgsql(at)bluepolka(dot)net>, pgsql-patches(at)postgresql(dot)org
Subject: Re: log_filename_prefix --> log_filename + strftime()
Date: 2004-08-27 19:36:15
Message-ID: 200408271936.i7RJaFw02163@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Tom Lane wrote:
> Andreas Pflug <pgadmin(at)pse-consulting(dot)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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2004-08-27 19:39:15 Re: log_filename_prefix --> log_filename + strftime()
Previous Message Tom Lane 2004-08-27 19:18:20 Re: log_filename_prefix --> log_filename + strftime()