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

--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

Reply via email to