BUG #15317: Sort order error - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #15317: Sort order error
Date
Msg-id 153371119378.1298.16323419052428888575@wrigleys.postgresql.org
Whole thread Raw
Responses Re: BUG #15317: Sort order error  (Heikki Linnakangas <hlinnaka@iki.fi>)
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      15317
Logged by:          sumit pahwa
Email address:      pahwa.sumit@gmail.com
PostgreSQL version: 10.3
Operating system:   Linux
Description:

Version of Postgres deployed
PostgreSQL 10.3 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.8.5 20150623
(Red Hat 4.8.5-16), 64-bit

When I execute a query
select 'ALEX DARGAY' >  'ALEXANDER';
It should return false as output because ascii value of space is lower than
ascii value of 'A'.
But the output is true, which is incorrect.
In a bigger picture, It gives a corrupted sorted order.

However, this works fine on PostgreSQL 10.4, compiled by Visual C++ build
1800, 64-bit

Please suggest.

Thanks


pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #15316: pg_restore failes to load data that is constrainted by a functional check constraints
Next
From: PG Bug reporting form
Date:
Subject: BUG #15318: ERROR: current transaction is aborted,commands ignored until end of transaction block