Csaba Nagy <nagy@xxxxxxxxxxxxxx> writes: >> Trouble is, you can never guarantee that you're dealing with actual words. >> What of you're comparing someone's password that happens to contain >> combination of letters that act in this way? > Well, in this case why would you care about how passwords are sorted ? You don't. But you do care about what equality means, and the discussion in this thread is really about changing that, not about changing the behavior of sorting. (The side-effects on sorting will be so minor that it's unlikely anyone would notice, with either solution.) regards, tom lane