Re: Sorting when "*" is the initial character

From: Russell Smith <mr-russ(at)pws(dot)com(dot)au>
To: col(at)mportal(dot)hu
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Sorting when "*" is the initial character
Date: 2005-02-08 09:11:39
Message-ID: 200502082011.40126.mr-russ@pws.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, 8 Feb 2005 01:10 pm, CoL wrote:
> hi,
>
> Berend Tober wrote, On 2/7/2005 22:20:
> > I encountered what looks like unusually sorting behavior, and I'm wondering if
> > anyone can tell me if this is supposted to happen (and then if so, why) or if
> > this is a bug:
> >
> >
> > SELECT * FROM sample_table ORDER BY 1;
> >
> > account_id,account_name
> > 100,First account
> > 110,Second account
> > *115,Fifth account
> > 120,Third account
> > *125,Fourth account
> >
> > I would expect to see
> >
> > account_id,account_name
> > *115,Fifth account
> > *125,Fourth account
> > 100,First account
> > 110,Second account
> > 120,Third account

With 8.0.0 C local, SQL_ASCII Database, I get the expected output.

Regards

Russell Smith

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jan Poslusny 2005-02-08 10:00:57 Re:
Previous Message guegue 2005-02-08 08:27:50 Re: Update command too slow