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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32 pgsql-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

Browse pgsql-hackers-win32 by date

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

Browse pgsql-patches by date

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