Re: sort order - Mailing list pgsql-general

From Adrian Klaver
Subject Re: sort order
Date
Msg-id 201112120752.36745.adrian.klaver@gmail.com
Whole thread Raw
In response to sort order  ("Abraham, Danny" <danny_abraham@bmc.com>)
Responses Re: sort order  ("Abraham, Danny" <danny_abraham@bmc.com>)
List pgsql-general
On Sunday, December 11, 2011 8:17:41 am Abraham, Danny wrote:
> On PG 9.0.4, Windows, Encoding and Collate WIN1252  trying to get a
> database to sort according to the ascii order. Example:
> Select t from test order by t
> Should be exactly like
> Select t from test order by ascii(t).
>
> Can it be done? How?

Not after a database has been created.

For more info see:
http://www.postgresql.org/docs/9.0/interactive/locale.html
In particular LC_COLLATE.

>
> Thanks
>
> Danny

--
Adrian Klaver
adrian.klaver@gmail.com

pgsql-general by date:

Previous
From: Sachin Srivastava
Date:
Subject: Re: Having Issue Getting the Postgresql Service to Start
Next
From: "Abraham, Danny"
Date:
Subject: Re: sort order