pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Koczan <pjkoczan@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: ascii-betical sort order?
Date: Fri, 08 May 2009 13:57:28 -0400
Message-ID: <10924.1241805448@sss.pgh.pa.us> (raw)
In-Reply-To: <4544e0330905081026u36b29014i43f1fc85d048916f@mail.gmail.com>
References: <4544e0330905081026u36b29014i43f1fc85d048916f@mail.gmail.com>

Peter Koczan <pjkoczan@gmail.com> writes:
> Is there some way to do ascii-betical sort ordering in postgres (i.e.
> capital letters come before lowercase)? It appears that text ordering
> is dictionary-alphabetical.

You're apparently using a non-C locale ... you need to re-initdb in
C locale.

			regards, tom lane



view thread (3+ messages)  latest in thread

Message-ID: <10924.1241805448@sss.pgh.pa.us>
Permalink:  ../10924.1241805448@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/10924.1241805448@sss.pgh.pa.us

 · 

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-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pjkoczan@gmail.com
  Subject: Re: ascii-betical sort order?
  In-Reply-To: <10924.1241805448@sss.pgh.pa.us>

* 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