Re: Upgrade from 7.4.5 to 8.3.3

Поиск
Список
Период
Сортировка
От Zdenek Kotala
Тема Re: Upgrade from 7.4.5 to 8.3.3
Дата
Msg-id 4909C8B6.9070706@sun.com
обсуждение исходный текст
Ответ на Re: Upgrade from 7.4.5 to 8.3.3  ("Harvey, Allan AC" <HarveyA@OneSteel.com>)
Ответы Re: Upgrade from 7.4.5 to 8.3.3
Список pgsql-bugs
Harvey, Allan AC napsal(a):
> Zdenek,
>
>> 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_lan
> ginfo.html
>
>> It seems you need to fix OS first. After that we can add CODESET mapping to
>> PostgreSQL.
>
>>         Zdenek
>
> I don't think this is possible.
>
> Can you give me an indication what problems I should look out for?
> Regression testing only showed some date format issues if I remeber correctly.
>

I think, problem could be on two places:

1) libc is broken and does not return correct values.
2) locale definition does not contain CODESET information.

Do you use system libc or glibc? You can try create own locale by localedef and
test what happen.

        Zdenek

В списке pgsql-bugs по дате отправления: