From: | "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com> |
---|---|
To: | Rick Gigger <rgigger(at)leadership-solutions(dot)net> |
Cc: | <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: order by for strings |
Date: | 2003-12-15 22:03:28 |
Message-ID: | Pine.LNX.4.33.0312151502480.3829-100000@css120.ihs.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Thu, 11 Dec 2003, Rick Gigger wrote:
> I have two postgres 7.2 servers. One is running 7.2.3 and one is running
> 7.2.4. I am querying for a word list and doing an order by on the word
> field.
>
> On the 7.2.3 server it is ordering like this:
>
> a
> A
> b
> B
> c
> C
>
> which is what I want. But on the 7.2.4 server it is doing it like this:
>
> A
> B
> C
> a
> b
> c
>
> Is this a change from 7.2.3 to 7.2.4 or a configure or compile option that I
> set differently on the two systems?
It's an initdb time option, meaning you'll need to pg_dump(all) the
database, clear out the $PGDATA directory, then run initdb --locale=XXX
where XXX is the appropriate locale.
From | Date | Subject | |
---|---|---|---|
Next Message | Martin Marques | 2003-12-15 22:08:49 | Relational data model dead? |
Previous Message | scott.marlowe | 2003-12-15 22:02:38 | Re: versions of PG |