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>,pgsql-patches(at)postgresql(dot)org, Jan Wieck <JanWieck(at)Yahoo(dot)com>,Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
Subject: Re: log_filename_prefix --> log_filename + strftime()
Date: 2004-08-31 04:56:49
Message-ID: 23880.1093928209@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-patches
"Ed L." <pgsql(at)bluepolka(dot)net> writes:
> On Saturday August 28 2004 9:30, Bruce Momjian wrote:
>> Are we going to change this before beta2?  I have not seen a final
>> patch yet.

> Attached is a revised patch:

Applied with minor revisions.

> I did not add UTC offset logic nor logic to shift to top of the hour/day for 
> rotation periods of 60/1440 minutes, but would like to add that shortly if 
> time permits.

I did the latter but not the former -- ie, rotation target times are
rounded off, but rounded with respect to GMT not local time.  I didn't
see an obviously correct behavior of round-to-local-time across DST
transitions ...

			regards, tom lane

In response to

Responses

pgsql-patches by date

Next:From: Ed L.Date: 2004-08-31 05:07:24
Subject: Re: log_filename_prefix --> log_filename + strftime()
Previous:From: Robert TreatDate: 2004-08-31 01:58:32
Subject: Re: Contrib -- PostgreSQL shared variables

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