Re: string comparison problem

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Johnny Edge <jedge(at)visafirst(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: string comparison problem
Date: 2011-08-01 20:53:16
Message-ID: 20110801205316.GC21451@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Aug 01, 2011 at 10:53:16PM +0300, Johnny Edge wrote:
> Hi folks,
>
> I have a problem with identical versions of postgresql - 8.3.13
>
> Config files are identical. HostA is a 32 bit CentOS 5.3 install and the
> hostB is x86_64 CentOS 6.
>
> Difference in architecture should not be a problem - I have another 64
> bit CentOS where both queries are executed displaying identical results.

It's probably locale related. Postgres uses the same order as the
"sort" command.

Try "show lc_collate".

Hope this helps,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> He who writes carelessly confesses thereby at the very outset that he does
> not attach much importance to his own thoughts.
-- Arthur Schopenhauer

In response to

Browse pgsql-general by date

  From Date Subject
Next Message kleptog 2011-08-01 21:02:16 Re: string comparison problem
Previous Message Tom Lane 2011-08-01 20:47:57 Re: Pending trigger events on ALTER TABLE in 8.3