Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 1FDEE642B96 for ; Wed, 21 Jul 2010 02:56:31 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 31843-08 for ; Wed, 21 Jul 2010 05:56:23 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail2.topex.ro (mail2.topex.ro [82.137.49.134]) by mail.postgresql.org (Postfix) with ESMTP id 33FD6634C81 for ; Wed, 21 Jul 2010 02:56:22 -0300 (ADT) Received: from mail2.topex.ro ([172.27.168.99]) by topex.ro with MailEnable ESMTP; Wed, 21 Jul 2010 08:56:19 +0300 X-ASG-Debug-ID: 1279691775-0717adf90001-ysJW5H Received: from vr.localnet (89-38-174-194.volio.ro [89.38.174.194]) by mail2.topex.ro with ESMTP id mfx1HBXuYUBwdwh3; Wed, 21 Jul 2010 08:56:18 +0300 (EEST) X-Barracuda-Envelope-From: robert.voinea@topex.ro X-Barracuda-AUTH-User: robert.voinea X-Barracuda-AUTH-User: robert.voinea X-Barracuda-AUTH-User: robert.voinea X-ASG-Whitelist: Client From: Robert Voinea Organization: Topex To: pgsql-admin@postgresql.org X-ASG-Orig-Subj: Re: [ADMIN] Weird sorting order Subject: Re: Weird sorting order Date: Wed, 21 Jul 2010 08:56:14 +0300 User-Agent: KMail/1.13.2 (Linux/2.6.32-24-generic; KDE/4.4.2; i686; ; ) Cc: "Kevin Grittner" , "Robert (DEQ) Burgholzer" References: <201007161514.09960.robert.voinea@topex.ro> <4C4433D402000025000338D1@gw.wicourts.gov> In-Reply-To: <4C4433D402000025000338D1@gw.wicourts.gov> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201007210856.14905.robert.voinea@topex.ro> X-Barracuda-Connect: 89-38-174-194.volio.ro[89.38.174.194] X-Barracuda-Start-Time: 1279691775 X-Barracuda-URL: http://172.27.168.99:8000/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at topex.ro X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.759 tagged_above=-10 required=5 tests=BAYES_20=-0.001, RCVD_IN_SORBS_WEB=0.77, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201007/152 X-Sequence-Number: 35171 On Monday 19 July 2010 19:15:32 Kevin Grittner wrote: > Burgholzer, Robert (DEQ)" > > wrote: > > This is really interesting. Is there a way to set the locale on > > the fly for a sort? Having looked at the docs, it appears as if > > the initDB step is the only opportunity to do so. > > Starting with 8.4 you can specify it at the database level: > > http://www.postgresql.org/docs/8.4/interactive/sql-createdatabase.html > > Peter Eisentraut is working on a way to set the collation for an > individual column or (I think) for a sort; but that won't be in 9.0. > Hopefully in 9.1.... > > http://archives.postgresql.org/message-id/1279045531.32647.14.camel@vanquo. > pezone.net > > -Kevin Thank you for clarifying this. -- Robert Voinea Software Developer Phone: +40 21 408 38 00 / ext. 343 Fax: +40 21 408 38 08 Local time: GMT+2 http://www.topex.ro