pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christoph Haller <ch@rodos.fzk.de>
To: pgsql-sql@postgresql.org
Subject: Re: case sensitive/insensitive confusion
Date: Tue, 01 Feb 2005 12:44:13 +0100
Message-ID: <41FF6B8D.E1010AEA@rodos.fzk.de> (raw)
References: <41FF50CE.76CEB361@rodos.fzk.de>
	<200502011114.00969.peter_e@gmx.net>

Peter Eisentraut wrote:
> 
> Christoph Haller wrote:
> > It seems to me under hpux the sort is done case sensitive,
> > as would one expect on SQL_ASCII encoding, whereas
> > under linux a case insensitive sort is done.
> 
> The sort order depends entirely on the locale that you specify to initdb
> (not the encoding).  Please check the documentation there.
> 
> --
> Peter Eisentraut
> http://developer.postgresql.org/~petere/
> 

Under hpux I see
pg_controldata $PGDATA
...
LC_COLLATE:                           C
LC_CTYPE:                             C
Under linux I see
pg_controldata $PGDATA
...
LC_COLLATE:                           en_US
LC_CTYPE:                             en_US

That explains the confusion, even to me. 
Thanx to Peter for the quick reply. 

Regards, Christoph



view thread (5+ messages)  latest in thread

Message-ID: <41FF6B8D.E1010AEA@rodos.fzk.de>
Permalink:  ../41FF6B8D.E1010AEA@rodos.fzk.de/
Also on:    postgresql.org/message-id/41FF6B8D.E1010AEA@rodos.fzk.de

 · 

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: ch@rodos.fzk.de
  Subject: Re: case sensitive/insensitive confusion
  In-Reply-To: <41FF6B8D.E1010AEA@rodos.fzk.de>

* 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