Re: Timezone for %t log_line_prefix

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Timezone for %t log_line_prefix
Date: 2004-08-05 00:02:28
Message-ID: 41117914.5090604@pse-consulting.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
>
> Does Windows' strftime have any short zone name %-spec? Seems like a
> quick #ifdef WIN32 to use a more compact zone name would be the best
> solution.

I already checked; unfortunately there's no short zone option. %z and %Z
give identical output.

>
> I'd be inclined to leave out the zone field *on Windows only* if there
> is no %-spec that uses something more reasonable. I don't think this
> problem justifies adding more %-options to log_line_prefix.

I don't have a problem with either way, but it appears desirable if
there would be a log_line_prefix option that gives identical result on
all systems.

Regards,
Andreas

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kevin Brown 2004-08-05 00:55:46 Re: DROP TABLESPACE causes panic during recovery
Previous Message Hicham G. Elmongui 2004-08-04 23:48:22 Re: enforcing a join type