Skip site navigation (1) Skip section navigation (2)

BUG #4526: Problem with sorting order by clause and null values(space) in the beginning og a string

From: "stella" <stellajn(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #4526: Problem with sorting order by clause and null values(space) in the beginning og a string
Date: 2008-11-12 19:08:02
Message-ID: 200811121908.mACJ82fU066078@wwwmaster.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-bugs
The following bug has been logged online:

Bug reference:      4526
Logged by:          stella
Email address:      stellajn(at)gmail(dot)com
PostgreSQL version: 8.3.4
Operating system:   linux
Description:        Problem with sorting order by clause and null
values(space)  in the beginning og a string
Details: 

Hi,

we experience a problem after upgrating to 8.3.4 from 8.2.5 as we use 'ORDER
BY' clause. The old version sorted char starting with null characters first
for example '   anything' would be before 'anything'. Saw there are some new
options NULLS FIRST/LAST, but they are not working in that case. Is there a
setting of the server so we can default to list first strings that start
with empty characters or a option that we should add to the query so the
sorting to be as we need to be ?

Thanks in addvance,
stella

Responses

pgsql-bugs by date

Next:From: hubert depesz lubaczewskiDate: 2008-11-12 19:18:11
Subject: Re: BUG #4525: substring with this pattern works in 8.3.1;does not work in 8.3.4
Previous:From: chris woodDate: 2008-11-12 18:45:27
Subject: BUG #4525: substring with this pattern works in 8.3.1; does not work in 8.3.4

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group