dbTalk Databases Forums  

[BUGS] Documentation bug regarding collations

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] Documentation bug regarding collations in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Thomas Kellerer
 
Posts: n/a

Default [BUGS] Documentation bug regarding collations - 01-28-2012 , 02:44 AM






in the description of the ORDER BY clause (http://www.postgresql.org/docs/curre...ml#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




--
Sent via pgsql-bugs mailing list (pgsql-bugs (AT) postgresql (DOT) org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

Reply With Quote
  #2  
Old   
Tom Lane
 
Posts: n/a

Default Re: [BUGS] Documentation bug regarding collations - 01-28-2012 , 07:56 PM






Thomas Kellerer <spam_eater (AT) gmx (DOT) net> writes:
Quote:
in the description of the ORDER BY clause (http://www.postgresql.org/docs/curre...ml#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.
Done, thanks for the report.

regards, tom lane

--
Sent via pgsql-bugs mailing list (pgsql-bugs (AT) postgresql (DOT) org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.