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: "Ed L(dot)" <pgsql(at)bluepolka(dot)net>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>,Andreas Pflug <pgadmin(at)pse-consulting(dot)de>,pgsql-patches(at)postgresql(dot)org
Subject: Re: log_filename_prefix --> log_filename + strftime()
Date: 2004-08-27 20:15:34
Message-ID: 2464.1093637734@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-patches
"Ed L." <pgsql(at)bluepolka(dot)net> writes:
> If log_filename = 'xxx', rotate with strftime() to 'xxx-%Y-%m-%d_%H%M%S'

No, I was thinking that if no %'s in the log_filename, then use xxx.EPOCH
to provide Apache compatibility.

			regards, tom lane

In response to

Responses

pgsql-patches by date

Next:From: Joe ConwayDate: 2004-08-27 20:37:57
Subject: Re: [SQL] array_in: '{}}'::text[]
Previous:From: Ed L.Date: 2004-08-27 20:00:59
Subject: Re: log_filename_prefix --> log_filename + strftime()

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