From: | "John Hansen" <john(at)geeknet(dot)com(dot)au> |
---|---|
To: | "John Hansen" <john(at)geeknet(dot)com(dot)au>, "Palle Girgensohn" <girgen(at)pingpong(dot)net>, "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Patch for collation using ICU |
Date: | 2005-05-07 12:53:46 |
Message-ID: | 5066E5A966339E42AA04BA10BA706AE50A92FC@rodrick.geeknet.com.au |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Errm,... initdb --encoding UNICODE --locale C
> -----Original Message-----
> From: pgsql-hackers-owner(at)postgresql(dot)org
> [mailto:pgsql-hackers-owner(at)postgresql(dot)org] On Behalf Of John Hansen
> Sent: Saturday, May 07, 2005 10:23 PM
> To: Palle Girgensohn; Bruce Momjian
> Cc: pgsql-hackers(at)postgresql(dot)org
> Subject: Re: [HACKERS] Patch for collation using ICU
>
> >
> > I use this patch in production on one FreeBSD 4.10 server at the
> > moment.
> > With the latest version, I've had no problems. Logging is
> swithed on
> > for now, and it shows no signs of ICU complaining. I'd like more
> > reports on Linux, though.
>
> I currently use this on gentoo with ICU3.2 unmasked.
>
> Works a dream, even with locale C and UNICODE database.
>
> Small test:
>
> createdb --encoding UNICODE --locale C test psql test set
> client_encoding=iso88591; CREATE TABLE test (t text); INSERT
> INTO test (t) VALUES ('æøå'); set client_encoding=unicode;
> INSERT INTO test (t) SELECT upper(t) FROM test; set
> client_encoding=iso88591; SELECT * FROM test;
> t
> -----
> æøå
> ÆØÅ
> (2 rows)
>
> Just as I'd expect, as upper/lower/initcap are locale
> independent for these characters.
>
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faq
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Palle Girgensohn | 2005-05-07 13:03:22 | Re: Patch for collation using ICU |
Previous Message | Bruce Momjian | 2005-05-07 12:37:05 | Re: Patch for collation using ICU |