pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: ktm@rice.edu <ktm@rice.edu>
To: Scott Ribe <scott_ribe@elevated-dev.com>
Cc: jayknowsunix@gmail.com, Silvio Brandani <silvio.brandani@tech.sdb.it>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: order by query wrong result
Date: Wed, 19 Nov 2014 08:27:00 -0600
Message-ID: <20141119142700.GI10679@aart.rice.edu> (raw)
In-Reply-To: <98519DF5-9539-434F-916B-BFF33F24A6A5@elevated-dev.com>
References: <546CA188.705@tech.sdb.it>
	<CB75D42A-9FCD-46D7-AF05-F005BF820385@gmail.com>
	<98519DF5-9539-434F-916B-BFF33F24A6A5@elevated-dev.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

On Wed, Nov 19, 2014 at 07:13:56AM -0700, Scott Ribe wrote:
> On Nov 19, 2014, at 7:07 AM, jayknowsunix@gmail.com wrote:
> > 
> > That doesn't look like an error to me. The upper() function is only converting your name field to upper case and then the "order by" is simply alphabetical based on that, which is what your return values are.
> 
> No, they're not--look again.
> -- 
> Scott Ribe
> scott_ribe@elevated-dev.com
> http://www.elevated-dev.com/
> (303) 722-0567 voice

They are based on your locale.

Regards,
Ken


-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



view thread (14+ messages)  latest in thread

Message-ID: <20141119142700.GI10679@aart.rice.edu>
Permalink:  ../20141119142700.GI10679@aart.rice.edu/
Also on:    postgresql.org/message-id/20141119142700.GI10679@aart.rice.edu

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: ktm@rice.edu, scott_ribe@elevated-dev.com, silvio.brandani@tech.sdb.it
  Subject: Re: order by query wrong result
  In-Reply-To: <20141119142700.GI10679@aart.rice.edu>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox