Another locale test program

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Another locale test program
Дата
Msg-id 200407132221.05148.peter_e@gmx.net
обсуждение исходный текст
Ответы Re: Another locale test program  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Another locale test program  (Euler Taveira de Oliveira <euler@ufgnet.ufg.br>)
Список pgsql-hackers
Regarding the encoding/locale matching issue, here's another test 
routine I would like you to run if you want to see your operating 
system supported.  It reflects more accurately the actual 
implementation I'm working on.

Compile the attached test program and then run

for x in `locale -a`; do LC_ALL=$x ./test; done | sort -u

If you don't have a locale command, maybe something like this will work:

for x in `ls /usr/share/locale`; do LC_ALL=`basename $x` ./test; done | 
sort -u

I already have Linux and FreeBSD covered.  Thanks.

(If the program doesn't compile or misbehaves, that would be useful 
information as well.)

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/

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

Предыдущее
От: "Magnus Hagander"
Дата:
Сообщение: Re: Is "trust" really a good default?
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Point in Time Recovery