Another locale test program

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Another locale test program
Date: 2004-07-13 20:21:05
Message-ID: 200407132221.05148.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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/

Attachment Content-Type Size
test.c text/x-csrc 222 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2004-07-13 20:25:50 Re: Point in Time Recovery
Previous Message Magnus Hagander 2004-07-13 20:20:42 Re: [HACKERS] Is "trust" really a good default?