From: | Susanne Ebrecht <susanne(at)2ndQuadrant(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Theory of operation of collation patch |
Date: | 2011-03-08 14:46:48 |
Message-ID: | 4D764158.50303@2ndQuadrant.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 07.03.2011 17:43, Tom Lane wrote:
> because two expressions that are equal() must necessarily have the same collation
> property.
Peter, Tom,
I am not able to see this.
If 'abc' == 'abc' is not collation depending at all. It is only
encoding depending.
Collation is only needed for upper(), lower() and sorting.
Means it tells if e.g. upper('i') will get Y or I.
It tells if the German s-umlaut will be sorted together with 's' or
after 'z'.
Btw. the follows on implementing collations will be different -
and I hope Peter is aware of it.
My experience is that a huge follow will be that users will complain
that the
sorting isn't correct even when it is correct.
Susanne
--
Susanne Ebrecht - 2ndQuadrant
PostgreSQL Development, 24x7 Support, Training and Services
www.2ndQuadrant.com
From | Date | Subject | |
---|---|---|---|
Next Message | Thom Brown | 2011-03-08 15:01:11 | Re: [HACKERS] Sync rep doc corrections |
Previous Message | Kevin Grittner | 2011-03-08 14:39:56 | Re: Beginner question: Hacking environment? |