Re: [BUGS] Upgrade from 7.4.5 to 8.3.3

2008-11-01 Thread Craig Ringer
Harvey, Allan AC wrote: >> Do you use system libc or glibc? You can try create own >> locale by localedef and >> test what happen. > > I think it would have to be glibc as I used the gcc loaded with the > "skunkware" tools that SCO provide. gcc may be, and often is, used with the system libc.

Re: [BUGS] Upgrade from 7.4.5 to 8.3.3

2008-10-31 Thread Harvey, Allan AC
Zdenek, > 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); > >> > >>

Re: [BUGS] Upgrade from 7.4.5 to 8.3.3

2008-10-30 Thread Zdenek Kotala
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/0096

Re: [BUGS] Upgrade from 7.4.5 to 8.3.3

2008-10-27 Thread Peter Eisentraut
Harvey, Allan AC wrote: 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/00969539

Re: [BUGS] Upgrade from 7.4.5 to 8.3.3

2008-10-27 Thread Harvey, Allan AC
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/function

Re: [BUGS] Upgrade from 7.4.5 to 8.3.3

2008-10-24 Thread Zdenek Kotala
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 see

Re: [BUGS] Upgrade from 7.4.5 to 8.3.3

2008-10-23 Thread Zdenek Kotala
I guess we don't have locale mapping for SCO OpenServer5.7. See http://doxygen.postgresql.org/chklocale_8c-source.html Could you run following code: http://archives.postgresql.org/pgsql-hackers/2007-09/msg01168.php and send output. Zdenek Harvey, Allan AC napsal(a): During an upgrade

[BUGS] Upgrade from 7.4.5 to 8.3.3

2008-10-21 Thread Harvey, Allan AC
During an upgrade from 7.4.5 to 8.3.3 the following was dumped during the restore process from psql. psql:roperydb_v7.4_20081021.dmp:49: WARNING: could not determine encoding for locale "C_C.C": codeset is "" DETAIL: Please report this to . So I am reporting it. Back ground. I am using 8.3.3