pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrei Bintintan <andy@ar-sd.net>
To: Stephan Szabo <sszabo@megazone.bigpanda.com>
Cc: [ADMIN] <pgsql-admin@postgresql.org>
Subject: Re: Sensitive sort problem?
Date: Wed, 26 Nov 2003 09:15:38 +0200
Message-ID: <003801c3b3ed$18d6feb0$0b00a8c0@andy> (raw)
References: <017301c3b365$70935b40$0b00a8c0@andy>
	<005701c3b370$3d09fe40$1664a8c0@DEMOLITION>
	<022a01c3b373$45fc4f00$0b00a8c0@andy>
	<20031125095150.J20420@megazone.bigpanda.com>

The db was initialized for 4 months. And in rest I did nothing regarding the
initialization.

I solved the problem by delete/reinit the database. I really don't know what
caused this.
A day before I noticed the problem I made a "live update" for suse 8.2. I
will look also the log files, maybe I find there something.

If I found something "strange" I post it.

Thankx to all.


----- Original Message -----
From: "Stephan Szabo" <sszabo@megazone.bigpanda.com>
To: "Andrei Bintintan" <klodoma@ar-sd.net>
Cc: "[ADMIN]" <pgsql-admin@postgresql.org>
Sent: Tuesday, November 25, 2003 7:53 PM
Subject: Re: [ADMIN] Sensitive sort problem?


> On Tue, 25 Nov 2003, Andrei Bintintan wrote:
>
> > I give an example:
> >
> > These are the datas from the table names:
> >
> > id   n1   n2
> > 1   AaAa    AaAa
> > 2    X     X
> > 3    A     A
> > 4   a    a
> > 5   ab    ab
> > 6   _Y    _Y
> > 8   ..a    ..a
> > 9   .x    .x
> > 7   ...a    ...a
> >
> > If I run: select * from names order by n1: the result is:
> >
> > id   n1   n2
> > 4   a    a
> > 8   ..a    ..a
> > 7   ...a    ...a
> > 3    A     A
> > 1   AaAa    AaAa
> > 5   ab    ab
> > 9   .x    .x
> > 2    X     X
> > 6   _Y    _Y
> >
> > Which I don't think that is right. I don't know what happened. But I
> > find that the ASCII char order is not respected here.
>
> As Tom said, you've probably run initdb in a locale other than "C".
> For example, I believe the above is correct for en_US.




view thread (9+ messages)  latest in thread

Message-ID: <003801c3b3ed$18d6feb0$0b00a8c0@andy>
Permalink:  ../003801c3b3ed$18d6feb0$0b00a8c0@andy/
Also on:    postgresql.org/message-id/003801c3b3ed$18d6feb0$0b00a8c0@andy

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: andy@ar-sd.net, sszabo@megazone.bigpanda.com
  Subject: Re: Sensitive sort problem?
  In-Reply-To: <003801c3b3ed$18d6feb0$0b00a8c0@andy>
  References: <017301c3b365$70935b40$0b00a8c0@andy> <005701c3b370$3d09fe40$1664a8c0@DEMOLITION> <022a01c3b373$45fc4f00$0b00a8c0@andy> <20031125095150.J20420@megazone.bigpanda.com> <003801c3b3ed$18d6feb0$0b00a8c0@andy>

* 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