Re: [GENERAL] help understanding collation order

2011-01-18 Thread raf
raf wrote: > Peter Eisentraut wrote: > > > On tis, 2011-01-18 at 10:33 +1100, raf wrote: > > > p.s. if anyone in debian locale land is listening, > > > 'E' does not sort before ','. what were you thinking? :-) > > > > What is actually happening is that the punctuation is sorted in a second > > p

Re: [GENERAL] help understanding collation order

2011-01-18 Thread raf
Peter Eisentraut wrote: > On tis, 2011-01-18 at 10:33 +1100, raf wrote: > > p.s. if anyone in debian locale land is listening, > > 'E' does not sort before ','. what were you thinking? :-) > > What is actually happening is that the punctuation is sorted in a second > pass after the letters. Whic

Re: [GENERAL] help understanding collation order

2011-01-17 Thread Peter Eisentraut
On tis, 2011-01-18 at 10:33 +1100, raf wrote: > p.s. if anyone in debian locale land is listening, > 'E' does not sort before ','. what were you thinking? :-) What is actually happening is that the punctuation is sorted in a second pass after the letters. Which is both correct according to the re

Re: [GENERAL] help understanding collation order

2011-01-17 Thread raf
Tom Lane wrote: > raf writes: > > the behaviour i expect (and see on macosx-10.6.6) is: > > >id | name > > +--- > > 4 | CLARK > > 2 | CLARK, PETER > > 3 | CLARKE > > 1 | CLARKE, DAVID > > > the behaviour i don't expect but see anyway (on debian-5.

Re: [GENERAL] help understanding collation order

2011-01-17 Thread Andrew Sullivan
On Mon, Jan 17, 2011 at 02:19:14PM -0500, Tom Lane wrote: > No, not particularly. Sort order is determined by lc_collate > not lc_messages. Unfortunately it's entirely possible that OSX > will give you a different sort order than Linux even for similarly > named lc_collate settings. About the o

Re: [GENERAL] help understanding collation order

2011-01-17 Thread Tom Lane
raf writes: > the behaviour i expect (and see on macosx-10.6.6) is: >id | name > +--- > 4 | CLARK > 2 | CLARK, PETER > 3 | CLARKE > 1 | CLARKE, DAVID > the behaviour i don't expect but see anyway (on debian-5.0) is: >id | name > --