Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 9CCFE6325D5 for ; Thu, 4 Feb 2010 05:01:04 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 06029-07 for ; Thu, 4 Feb 2010 09:00:53 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from smadev.internal.net (host3.dynacom.ondsl.gr [62.103.35.211]) by mail.postgresql.org (Postfix) with ESMTP id A3C7A6322C6 for ; Thu, 4 Feb 2010 05:00:53 -0400 (AST) Received: from smadev.internal.net (localhost [127.0.0.1]) by smadev.internal.net (8.14.2/8.14.2) with ESMTP id o1490emW040722; Thu, 4 Feb 2010 11:00:40 +0200 (EET) (envelope-from achill@matrix.gatewaynet.com) Received: from localhost (localhost [[UNIX: localhost]]) by smadev.internal.net (8.14.2/8.14.2/Submit) id o1490ewV040721; Thu, 4 Feb 2010 11:00:40 +0200 (EET) (envelope-from achill@matrix.gatewaynet.com) From: Achilleas Mantzios Organization: Dynacom Tankers Mgmt To: pgsql-admin@postgresql.org Subject: Re: Issues with LC_COLLATE, across 8.3/8.4 on various platforms Date: Thu, 4 Feb 2010 11:00:39 +0200 User-Agent: KMail/1.9.7 Cc: Peter Eisentraut References: <201002021426.44936.achill@matrix.gatewaynet.com> <201002031705.36226.achill@matrix.gatewaynet.com> <1265224596.16965.1.camel@vanquo.pezone.net> In-Reply-To: <1265224596.16965.1.camel@vanquo.pezone.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <201002041100.39958.achill@matrix.gatewaynet.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.185 tagged_above=-10 required=5 tests=BAYES_40=-0.185 X-Spam-Level: X-Archive-Number: 201002/45 X-Sequence-Number: 33648 =CE=A3=CF=84=CE=B9=CF=82 Wednesday 03 February 2010 21:16:36 =CE=BF/=CE=B7 = Peter Eisentraut =CE=AD=CE=B3=CF=81=CE=B1=CF=88=CE=B5: > On ons, 2010-02-03 at 17:05 +0200, Achilleas Mantzios wrote: > > =CE=A3=CF=84=CE=B9=CF=82 Wednesday 03 February 2010 16:53:20 =CE=BF/=CE= =B7 Peter Eisentraut =CE=AD=CE=B3=CF=81=CE=B1=CF=88=CE=B5: > > > On tis, 2010-02-02 at 17:28 +0200, Achilleas Mantzios wrote: > > > > It seems that libc's behaviour regarding LC_COLLATE in Linux/FreeBSD > > > > are two different stories, hence the seen results. > > >=20 > > > The UTF-8 locales on FreeBSD and Mac OS X are pretty much broken. > > >=20 > > > This is becoming a FAQ ... ^^^^ I guess you are right. In my new FreeBSD system i get: postgres@smadevnew:~> uname -sr =46reeBSD 8.0-RELEASE-p2 postgres@smadevnew:~> ls -l /usr/share/locale/en_US.UTF-8/ total 0 lrwxr-xr-x 1 root wheel 28 Nov 21 16:30 LC_COLLATE -> ../la_LN.US-ASCII/= LC_COLLATE lrwxr-xr-x 1 root wheel 17 Nov 21 16:30 LC_CTYPE -> ../UTF-8/LC_CTYPE lrwxr-xr-x 1 root wheel 30 Nov 21 16:30 LC_MESSAGES -> ../en_US.ISO8859-= 1/LC_MESSAGES lrwxr-xr-x 1 root wheel 30 Nov 21 16:30 LC_MONETARY -> ../en_US.ISO8859-= 1/LC_MONETARY lrwxr-xr-x 1 root wheel 29 Nov 21 16:30 LC_NUMERIC -> ../en_US.ISO8859-1= /LC_NUMERIC lrwxr-xr-x 1 root wheel 26 Nov 21 16:30 LC_TIME -> ../en_US.ISO8859-1/LC= _TIME >=20 >=20 =2D-=20 Achilleas Mantzios