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

Re: nonempty default log_line_prefix (was [COMMITTERS] pgsql: Simplify handling of the timezone GUC)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: nonempty default log_line_prefix (was [COMMITTERS] pgsql: Simplify handling of the timezone GUC)
Date: 2011-09-10 02:42:10
Message-ID: 20673.1315622530@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-committerspgsql-hackers
Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> Excerpts from Tom Lane's message of vie sep 09 18:59:45 -0300 2011:
>> Simplify handling of the timezone GUC by making initdb choose the default.

> Hmm, I was hoping that this might open the door for setting a nonempty
> default log_line_prefix, but apparently not :-(  Seems
> setup_formatted_start_time is still expecting that GUC initialization
> would be called before we do anything with it.  Pity ...

I think it actually would work now, you'd just have to accept that any
log messages that come out during GUC initialization might appear in GMT.
I didn't really experiment with that angle of it --- feel free.

But having said that, I'm not sure that there's a consensus for changing
the default log_line_prefix.

			regards, tom lane

In response to

pgsql-hackers by date

Next:From: Peter GeogheganDate: 2011-09-10 03:28:16
Subject: Re: Large C files
Previous:From: Alvaro HerreraDate: 2011-09-10 01:31:53
Subject: nonempty default log_line_prefix (was [COMMITTERS] pgsql: Simplify handling of the timezone GUC)

pgsql-committers by date

Next:From: Tom LaneDate: 2011-09-10 02:57:51
Subject: pgsql: Try to un-break MSVC build.
Previous:From: Alvaro HerreraDate: 2011-09-10 01:31:53
Subject: nonempty default log_line_prefix (was [COMMITTERS] pgsql: Simplify handling of the timezone GUC)

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