Skip site navigation (1) Skip section navigation (2)

Re: log_filename_prefix --> log_filename + strftime()

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
Cc: "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:18:20
Message-ID: 1839.1093634300@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-patches
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.)

			regards, tom lane

In response to

Responses

pgsql-patches by date

Next:From: Bruce MomjianDate: 2004-08-27 19:36:15
Subject: Re: log_filename_prefix --> log_filename + strftime()
Previous:From: Andrew DunstanDate: 2004-08-27 19:17:18
Subject: Re: log_filename_prefix --> log_filename + strftime()

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group