Re: How to sort strings containing a dot?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Pierre LEBRECH <pierre(dot)lebrech(at)laposte(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: How to sort strings containing a dot?
Date: 2008-03-25 15:58:47
Message-ID: 22115.1206460727@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Pierre LEBRECH <pierre(dot)lebrech(at)laposte(dot)net> writes:
> I want to sort strings containing a dot but by taking care of this dot
> like any other character.

I suspect what you really want is C locale, and what you've got is
some other locale that uses "dictionary" sort rules. Try "show lc_collate".

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Pierre LEBRECH 2008-03-25 16:05:23 Re: How to sort strings containing a dot?
Previous Message Ivan Sergio Borgonovo 2008-03-25 15:57:12 Re: return value from SQL statement