Re: problem with sorting using 'ORDER BY' when character field is filled with numerical values
От
Tom Lane
Тема
Re: problem with sorting using 'ORDER BY' when character field is filled with numerical values
Дата
Msg-id
1790.1085069438@sss.pgh.pa.us
Ответ на
problem with sorting using 'ORDER BY' when character field is filled
with numerical values (Dragan Matic)
Список
Дерево обсуждения
problem with sorting using 'ORDER BY' when character field is filled
with numerical values Dragan Matic <mlists@panforma.co.yu>
Re: problem with sorting using 'ORDER BY' when character Dave Smith <dave.smith@candata.com>
Re: problem with sorting using 'ORDER BY' when character Dave Smith <dave.smith@candata.com>
Re: problem with sorting using 'ORDER BY' when character field is filled with numerical values Tom Lane <tgl@sss.pgh.pa.us>
Re: problem with sorting using 'ORDER BY' when character Stephan Szabo <sszabo@megazone.bigpanda.com>
Re: problem with sorting using 'ORDER BY' when character Guy Fraser <guy@incentre.net>
Dragan Matic writes: > Is there some way to make Postgres sort elements > in this way (setting sort order or collation, I suppose)? C locale would sort that way; you appear to be using some other locale. I concur with the nearby suggestions that you should consider a more appropriate datatype, if all your data will be integers. Operations on integers will be lots faster than operations on strings. regards, tom lane
В списке pgsql-general по дате отправления
От: Stephan Szabo
Дата: