Skip site navigation (1) Skip section navigation (2)

Ordering not acting right.

From: "Blanco, Jose" <blancoj(at)umich(dot)edu>
To: <pgsql-admin(at)postgresql(dot)org>
Subject: Ordering not acting right.
Date: 2008-08-20 19:48:17
Message-ID: E0217C87D1BA1043AC897ACFA468CEE6022EF9A8@ECLUST2-VS3.adsroot.itcs.umich.edu (view raw or flat)
Thread:
Lists: pgsql-admin
I have a text field which I use to store names ( lastname, firstname )
and suppose we have the following 3 authors in the field:
   ta, a
   ta, z
   tab, a

I would expect them to show up in the order shown above when I select
this field and order it by it, but instead I get:

   ta, a
   tab, a
   ta, z

Some one has suggested that this may have to do with my locale setting.
I'm not an administrator so I'm not sure what how to check for the
locale setting or what to change it to.  Does any one have any
suggestions?

I'm using postgres 8.1.11.

Thank you!
Jose

Responses

pgsql-admin by date

Next:From: Lennin CaroDate: 2008-08-20 20:25:49
Subject: Re: Ordering not acting right.
Previous:From: Kevin GrittnerDate: 2008-08-20 13:10:59
Subject: Re: Regarding access to a user

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group