Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 8A33DB5D91F for ; Thu, 23 Jun 2011 00:57:55 -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 61917-05 for ; Thu, 23 Jun 2011 03:57:49 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-iy0-f174.google.com (mail-iy0-f174.google.com [209.85.210.174]) by mail.postgresql.org (Postfix) with ESMTP id 72017B5D8BD for ; Thu, 23 Jun 2011 00:57:49 -0300 (ADT) Received: by iyb12 with SMTP id 12so1231683iyb.19 for ; Wed, 22 Jun 2011 20:57:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=zQFaScZZzzizDX6nUHRNlKpmJuW42J183uVqyomlpJY=; b=bdEy2Kk0l9FaeJFbsrt9f/W0EGQMvfu8JKao0gtZYEWC2SZQ6dsjMgLUTV5M4G5+TV tsblgpF7a0v8NwNBJqwYX91MUs6M25PxCqEC1lq21+iwVMTPjPy6ntK65wKrNVEwW6s2 oDksqKA7AhuAP4L9MzkEdqWbYRDf0B2xfyGqc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=hr+wIUa164ZjokOgN12XMiGxPFGT6/y3rSk+FJ849PDIrf26fqkhSml6bZfTXyBJLg scKxFyOhB2MMCdaxsplzq3lv7JH2ChRcSjAVIYubKzFLzE1cKdJj4kxJKlM9jsLQ8BXY 3QnK1OUGBxiM1nwya9KkrM5Y78hxlx/3cpYVc= Received: by 10.42.157.72 with SMTP id c8mr1449174icx.401.1308801467251; Wed, 22 Jun 2011 20:57:47 -0700 (PDT) MIME-Version: 1.0 Received: by 10.42.1.141 with HTTP; Wed, 22 Jun 2011 20:57:07 -0700 (PDT) In-Reply-To: <1308773527.10498.7.camel@vanquo.pezone.net> References: <1308773527.10498.7.camel@vanquo.pezone.net> From: Pavel Stehule Date: Thu, 23 Jun 2011 05:57:07 +0200 Message-ID: Subject: Re: a strange order by behavior To: Peter Eisentraut Cc: Samuel Gendler , Eyal Wilde , pgsql-sql@postgresql.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.898 tagged_above=-5 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001, RFC_ABUSE_POST=0.001 X-Spam-Level: X-Archive-Number: 201106/86 X-Sequence-Number: 35552 2011/6/22 Peter Eisentraut : > On ons, 2011-06-22 at 02:39 -0700, Samuel Gendler wrote: >> Pavel suggested using a collation of ucs_basic, but I get an error >> when I >> try that on linux: >> >> $ createdb -U u1 --lc-collate=3Ducs_basic -E UTF-8 test >> createdb: database creation failed: ERROR: =C2=A0invalid locale name ucs= _basic > > ucs_basic is a collation name, which is an SQL object. =C2=A0The argument= of > createdb --lc-collate is an operating system locale name. =C2=A0You can't= mix > the two, even though they are similar. > ok, what I can to select, when I would to use a C like default order? Regards Pavel > >