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

Re: Win32 & NLS

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Magnus Hagander" <mha(at)sollentuna(dot)net>
Cc: pgsql-hackers-win32(at)postgresql(dot)org,"pgsql-patches" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Win32 & NLS
Date: 2004-10-17 20:05:09
Message-ID: 10509.1098043509@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers-win32pgsql-patches
"Magnus Hagander" <mha(at)sollentuna(dot)net> writes:
> Attached is a patch with adds a environment variable based version of
> locale_messages_assign(). It's not a pretty solution, but I think it's
> probably necessary.

Applied with minor cleanup.

I'm still concerned about the order-of-operations issue, but some
desultory experimentation on Linux (Fedora Core 3) did not find any
cases where setlocale(LC_MESSAGES) would fail because of a contradictory
LC_CTYPE setting, so maybe that theory is all wet.  Still it seems there
is *something* fishy going on, given the number of reports we've seen.

			regards, tom lane

In response to

  • Win32 & NLS at 2004-10-17 15:31:32 from Magnus Hagander

pgsql-patches by date

Next:From: Peter EisentrautDate: 2004-10-17 21:08:36
Subject: Re: Update postgres-zh_TW.po for 8.0
Previous:From: Tom LaneDate: 2004-10-17 19:49:25
Subject: Re: strange result from contrib/seg regression on windows

pgsql-hackers-win32 by date

Next:From: Joerg HessdoerferDate: 2004-10-18 09:46:50
Subject: Re: postgres win32 in FAT32
Previous:From: Marcus EngeneDate: 2004-10-17 19:07:41
Subject: Fetch of multiple rows using ecpg.

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