neral@postgresql.org
Subject: Re: [GENERAL] sort order
"Abraham, Danny" writes:
> This is exactly what I am trying to do -
> To find a CREATE DATABASE statement that will produce a database that has a
> binary sorting.
Setting its LC_COLLATE to "C" ought to do th
On Monday, December 12, 2011 7:55:37 am Abraham, Danny wrote:
> This is exactly what I am trying to do -
> To find a CREATE DATABASE statement that will produce a database that has a
> binary sorting.
http://www.postgresql.org/docs/9.0/interactive/sql-createdatabase.html
CREATE DATABASE name
[
"Abraham, Danny" writes:
> This is exactly what I am trying to do -
> To find a CREATE DATABASE statement that will produce a database that has a
> binary sorting.
Setting its LC_COLLATE to "C" ought to do that.
BTW, as of 9.1 you can control this at finer granularity than database
level, see t
@postgresql.org
Cc: Abraham, Danny
Subject: Re: [GENERAL] sort order
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
&g
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
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?
Thanks
Danny
hi!
could somebody tell me where is the problem?
i have postgres 7.0.3-4 comming with unstable debian distribution (locales 2.2.1-1,
libc6 2.2.1-1)
i am unable to force postgres to sort in correct order when I have national characters
(polish)
I tried differents locales settings (i thik that L