Re: Upgrade from 7.4.5 to 8.3.3 - Mailing list pgsql-bugs

From Zdenek Kotala
Subject Re: Upgrade from 7.4.5 to 8.3.3
Date
Msg-id 4901A8C8.3090907@sun.com
Whole thread Raw
In response to Upgrade from 7.4.5 to 8.3.3  ("Harvey, Allan AC" <HarveyA@OneSteel.com>)
Responses Re: Upgrade from 7.4.5 to 8.3.3  ("Harvey, Allan AC" <HarveyA@OneSteel.com>)
List 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

pgsql-bugs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: BUG #4486: CSV feature request
Next
From: ""
Date:
Subject: BUG #4493: Memory leak in informix.c