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

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 (view raw or flat)
Thread:
Lists: pgsql-hackers-win32pgsql-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: locale.patch
Description: text/plain (1.4 KB)

In response to

Responses

pgsql-patches by date

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

pgsql-hackers-win32 by date

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

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