Re: Timezone for %t log_line_prefix

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Andrew Dunstan" <andrew(at)dunslane(dot)net>
Cc: "Andreas Pflug" <pgadmin(at)pse-consulting(dot)de>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Timezone for %t log_line_prefix
Date: 2004-08-16 17:07:06
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE34BFD0@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>> That's ugly, and unfortunately %z is GNU-specific.
>
>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.

No. This is what the cruft in pgtz.c (TZABBREV macro and associated
function) was all about.

//Magnus

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2004-08-16 17:08:17 Re: Timezone for %t log_line_prefix
Previous Message Magnus Hagander 2004-08-16 16:59:53 Re: Open items