Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 9887E53811D for ; Sat, 28 Jan 2012 04:44:51 -0400 (AST) Received: from lo.gmane.org ([80.91.229.12]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Rr3tw-0001ap-6E for pgsql-bugs@postgresql.org; Sat, 28 Jan 2012 08:44:52 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Rr3tg-00037H-Bd for pgsql-bugs@postgresql.org; Sat, 28 Jan 2012 09:44:32 +0100 Received: from host-188-174-129-203.customer.m-online.net ([188.174.129.203]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 28 Jan 2012 09:44:32 +0100 Received: from spam_eater by host-188-174-129-203.customer.m-online.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 28 Jan 2012 09:44:32 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-bugs@postgresql.org From: Thomas Kellerer Subject: Documentation bug regarding collations Date: Sat, 28 Jan 2012 09:44:23 +0100 Lines: 12 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: host-188-174-129-203.customer.m-online.net User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.5.666 X-Pg-Spam-Score: -4.2 (----) X-Archive-Number: 201201/211 X-Sequence-Number: 32278 in the description of the ORDER BY clause (http://www.postgresql.org/docs/current/static/sql-select.html#SQL-ORDERBY) it says: "Character-string data is sorted according to the locale-specific collation order that was established when the database was created." Which is no longer true with 9.1 as it is possible to define the collation on a per-column basis or as part of the ORDER BY clause. I think a link to the collation chapter and a description on the "precedence" of the definitions should be added to that part. Regards Thomas