Re: initdb problen

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: "Patches (PostgreSQL)" <pgsql-patches(at)postgresql(dot)org>
Cc: "Korea PostgreSQL Users' Group" <pgsql-kr(at)postgresql(dot)or(dot)kr>, Claudio Natoli <claudio(dot)natoli(at)memetrics(dot)com>, pgsql-hackers-win32(at)postgresql(dot)org
Subject: Re: initdb problen
Date: 2004-03-12 16:33:35
Message-ID: 4051E65F.5010700@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32 pgsql-patches

I believe that the attached patch may solve this setlocale() problem,
but I do not have a Windows box handy on which to test it. Can somebody
who does please try and let us know the results?

thanks

andrew

Andrew Dunstan wrote:

>the answer is very probably here:
>http://archives.postgresql.org/pgsql-hackers-win32/2003-10/msg00024.php
>
>I thought Bruce said he had this covered, but it hasn't been fixed. I
>will prepare a patch in the next day or so if someone else doesn't beat
>me to it.
>
>cheers
>
>andrew
>
>Korea PostgreSQL Users' Group wrote:
>
>
>
>>it works still problem.
>>
>>setlocale() function is not equivalent between unix and win32
>>
>>plz check.
>>
>>multibyte text is not sorted.
>>
>>
>>----- Original Message -----
>>From: "Claudio Natoli" <claudio(dot)natoli(at)memetrics(dot)com>
>>To: "'Korea PostgreSQL Users' Group'" <pgsql-kr(at)postgresql(dot)or(dot)kr>; <pgsql-hackers-win32(at)postgresql(dot)org>
>>Sent: Friday, March 12, 2004 5:04 PM
>>Subject: RE: [pgsql-hackers-win32] initdb problen
>>
>>
>>
>>
>>
>>
>>>What if you instead try:
>>>
>>>initdb --locale=C
>>>
>>>Looks like "--no-locale" is not "equivalent to --locale=C", at least under
>>>win32.
>>>
>>>Cheers,
>>>Claudio
>>>
>>>
>>>
>>>
>>>
>>>
>>---------------------------(end of broadcast)---------------------------
>>TIP 3: if posting/reading through Usenet, please send an appropriate
>> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
>> message can get through to the mailing list cleanly
>>
>>
>>
>>
>>
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>
>
>

Attachment Content-Type Size
locale.patch text/plain 1.4 KB

In response to

Responses

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Claudio Natoli 2004-03-12 23:02:12 Re: initdb problen
Previous Message Tom Lane 2004-03-12 14:34:38 Re: fsync with sync, and Win32 unlink

Browse pgsql-patches by date

  From Date Subject
Next Message Lee Kindness 2004-03-12 17:24:01 Re: Update tests & memory leak fix
Previous Message Andrew Dunstan 2004-03-12 16:09:28 Re: defer statement logging until after parse