Re: Solve a problem of LC_TIME of windows. - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Solve a problem of LC_TIME of windows.
Date
Msg-id 20090107132252.GB14891@alvh.no-ip.org
Whole thread Raw
In response to Re: Solve a problem of LC_TIME of windows.  (ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
Responses Re: Solve a problem of LC_TIME of windows.  (Hiroshi Inoue <inoue@tpf.co.jp>)
List pgsql-hackers
ITAGAKI Takahiro wrote:
> 
> Hiroshi Inoue <inoue@tpf.co.jp> wrote:
> 
> > Seems LC_CTYPE and LC_TIME should be convertible even though we use
> > wcsftime (which internally calls strftime?).
> 
> Ok, wcsftime() requries both LC_TIME and LC_CTYPE are the same setting
> (at least encoding) on Windows.

shouldn't this use LC_TIME?

+       setlocale(LC_CTYPE, locale_time);

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: incoherent view of serializable transactions
Next
From: Magnus Hagander
Date:
Subject: Re: Solve a problem of LC_TIME of windows.