Re: [HACKERS] Log line prefix on win32

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Michael Paesold <mpaesold(at)gmx(dot)at>, PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [HACKERS] Log line prefix on win32
Date: 2004-10-09 01:29:24
Message-ID: 200410090129.i991TOJ24313@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > However, I actually prefer the mail header style of timezone to EST/EDT
> > anyway:
>
> Agreed, but AFAIK there's no portable way to ask strftime for that,
> so you're still stuck with a compatibility problem. We could teach
> pg_strftime to do it, but that's something for 8.1 or beyond.

OK, the attached applied patch suppresses timezone output from
log_line_prefix %t on Win32. Also added to TODO:

Win32

o Re-enable timezone output on log_line_prefix '%t' when a
shorter timezone string is available

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

Attachment Content-Type Size
unknown_filename text/plain 731 bytes

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Christopher Browne 2004-10-09 02:10:19 Re: First set of OSDL Shared Mem scalability results, some wierdness ...
Previous Message Dann Corbit 2004-10-09 00:41:55 Re: APR 1.0 released

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2004-10-09 02:42:00 Re: cast pid_t to int when using *printf
Previous Message Bruce Momjian 2004-10-09 00:36:32 Re: more dirmod CYGWIN (was: APR 1.0 released)