Re: How to sort strings containing a dot? - Mailing list pgsql-general

From Adam Rich
Subject Re: How to sort strings containing a dot?
Date
Msg-id 03d201c88e97$ca7091c0$5f51b540$@r@sbcglobal.net
Whole thread Raw
In response to Re: How to sort strings containing a dot?  (Pierre LEBRECH <pierre.lebrech@laposte.net>)
Responses Re: How to sort strings containing a dot?  (Pierre LEBRECH <pierre.lebrech@laposte.net>)
List pgsql-general
> By the way, I have just inserted a duplicate. Then I have run the
> select statement with distinct and I got an error.
>
> How one can solve this?
>

Does this work?

select distinct name
from (  select name from t order by replace(name, '.', 'a')) as t2



pgsql-general by date:

Previous
From: "LARC/J.L.Shipman/jshipman"
Date:
Subject: pg_ctrl stop problems (psql 8.2.5)
Next
From: Pierre LEBRECH
Date:
Subject: Re: How to sort strings containing a dot?