Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id DB79EB5DBBD for ; Thu, 9 Jun 2011 15:22:51 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 81929-04 for ; Thu, 9 Jun 2011 18:22:44 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pw0-f46.google.com (mail-pw0-f46.google.com [209.85.160.46]) by mail.postgresql.org (Postfix) with ESMTP id 569BBB5D80A for ; Thu, 9 Jun 2011 15:22:44 -0300 (ADT) Received: by pwi15 with SMTP id 15so865648pwi.19 for ; Thu, 09 Jun 2011 11:22:43 -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:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Kjc3eK84lzfB0d2N3rL0ojLLMZbMHjpVz+zlLYM3uYQ=; b=Iei04uhh6Hnx5mksVP8jjVJocS75oHcW39RUzqLwlTsSEdOdZMSu0nq74qJMrh9CAx 2LwNIxutoUO0hJrm9bi7FuCHjgsCZdIGdvUyuHHSgrDCEoHN60dMjxH4+MvyY2dLx5Li +gufCSi0zvTy4LoszzimnmQGDpgbmjb3PN1f0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=BUxwISc+x2fhxZ5OytI3py/H5UnHU5t/DkU6r23ISKuEx8kjO3QLoZzyBX5h1W3jeu l7MgtRV+eZ5ErVrD5+1SuNTHAAt84bbW80k9Xgmja0rRUpZSK4A2Xk73JQ2x7jd+R+p8 apRp8wXXLmnyRIpBQymgm55Mr9JiSUc7MxYps= MIME-Version: 1.0 Received: by 10.68.8.234 with SMTP id u10mr12903pba.111.1307643763224; Thu, 09 Jun 2011 11:22:43 -0700 (PDT) Received: by 10.68.56.70 with HTTP; Thu, 9 Jun 2011 11:22:42 -0700 (PDT) In-Reply-To: <1307643569.24477.9.camel@vanquo.pezone.net> References: <201106091730.p59HUfB08649@momjian.us> <1307643569.24477.9.camel@vanquo.pezone.net> Date: Thu, 9 Jun 2011 14:22:42 -0400 Message-ID: Subject: Re: collation problem on 9.1-beta1 From: Robert Haas To: Peter Eisentraut Cc: Bruce Momjian , Tom Lane , Marc Cousin , pgsql-bugs@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 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/93 X-Sequence-Number: 30472 On Thu, Jun 9, 2011 at 2:19 PM, Peter Eisentraut wrote: > On tor, 2011-06-09 at 13:30 -0400, Bruce Momjian wrote: >> Column numbers in ORDER BY is ANSI syntax so I don't think calling >> them "legacy" is accurate. =A0"limited functionality"? > > It was in SQL 92, but removed in 99, so it's technically no longer part > of the standard. It's still extremely widely used though, I think, and very useful. I don't feel we have to support GROUP BY 1 COLLATE whatever, but it might be worth the trouble to at least emit a decent HINT. --=20 Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company