Re: Upgrade from 7.4.5 to 8.3.3

From: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
To: "Harvey, Allan AC" <HarveyA(at)OneSteel(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Upgrade from 7.4.5 to 8.3.3
Date: 2008-10-24 10:51:52
Message-ID: 4901A8C8.3090907@sun.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hmm, It does not look good. Your OS does not return proper information about
codeset. Following code is broken:

setlocale(LC_CTYPE, ctype);
sys = nl_langinfo(CODESET);
sys = strdup(sys);

See
http://www.opengroup.org/onlinepubs/009695399/functions/nl_langinfo.html

It seems you need to fix OS first. After that we can add CODESET mapping to
PostgreSQL.

Zdenek

Harvey, Allan AC napsal(a):
> Zdenek
>
> Thanks for your reply.
>
>> I guess we don't have locale mapping for SCO OpenServer5.7. See
>> http://doxygen.postgresql.org/chklocale_8c-source.html
>
> Browser Timed out. (?)
>
>> Could you run following code:
>> http://archives.postgresql.org/pgsql-hackers/2007-09/msg01168.php
>>
>> and send output.
>>
>> Zdenek
>
> Output as requested:
>
> bash-2.05$ for LOCALE in `locale -a`; do locale_test $LOCALE; done
> C_C.C ... - NO MATCH
> cs_CZ.ISO8859-2 ... - NO MATCH
> english_uk.ISO8859-15 ... - NO MATCH
> english_uk.8859 ... - NO MATCH

<snip>

--
Zdenek Kotala Sun Microsystems
Prague, Czech Republic http://sun.com/postgresql

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message dvice_null 2008-10-24 20:04:24 BUG #4493: Memory leak in informix.c
Previous Message Bruce Momjian 2008-10-23 20:03:08 Re: BUG #4486: CSV feature request