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

Re: initdb problen

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
Subject: Re: initdb problen
Date: 2004-03-12 08:04:00
Message-ID: A02DEC4D1073D611BAE8525405FCCE2B55F374@harris.memetrics.local (view raw or flat)
Thread:
Lists: pgsql-hackers-win32pgsql-patches
What if you instead try:

initdb --locale=C

Looks like "--no-locale" is not "equivalent to --locale=C", at least under
win32.

Cheers,
Claudio


> -----Original Message-----
> From: Korea PostgreSQL Users' Group [mailto:pgsql-kr(at)postgresql(dot)or(dot)kr]
> Sent: Friday, 12 March 2004 5:30 PM
> To: pgsql-hackers-win32(at)postgresql(dot)org
> Subject: [pgsql-hackers-win32] initdb problen
> 
> 
> I successed to compile and run PostgreSQL for mingw
> but 
> bootstrap_template1 function in initdb.c made a problem to locale.
> 
> In PostgeSQL, 
> if value of LC_COLLATE  is not C
> then sortting is not work when use korean language.
> 
> I used this command to make db.
> 
> initdb -D data --no-locale
> 
> this command successed.
> but pg_controldata command returned incorrect values.
> 
> LC_COLLATE:                         Korean_Korea.949
> LC_CTYPE:                             Korean_Korea.949
> 
> My windows box is korean XP.
> 
> How I can change above these values to C?
> ---------------------------(end of 
> broadcast)---------------------------
> TIP 6: Have you searched our list archives?
> 
>                http://archives.postgresql.org
> 

--- 
Certain disclaimers and policies apply to all email sent from Memetrics.
For the full text of these disclaimers and policies see 
<a
href="http://www.memetrics.com/emailpolicy.html">http://www.memetrics.com/em
ailpolicy.html</a>

Responses

pgsql-patches by date

Next:From: Korea PostgreSQL Users' GroupDate: 2004-03-12 08:25:33
Subject: Re: initdb problen
Previous:From: Claudio NatoliDate: 2004-03-12 07:21:32
Subject: int8 fix for win32

pgsql-hackers-win32 by date

Next:From: Korea PostgreSQL Users' GroupDate: 2004-03-12 08:25:33
Subject: Re: initdb problen
Previous:From: Claudio NatoliDate: 2004-03-12 07:38:46
Subject: Re: fsync with sync, and Win32 unlink

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