From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: pahwa.sumit@gmail.com
Subject: BUG #15317: Sort order error
Date: Wed, 08 Aug 2018 06:53:13 +0000
Message-ID: <153371119378.1298.16323419052428888575@wrigleys.postgresql.org> (raw)
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
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-bugs@postgresql.org
Cc: noreply@postgresql.org, pahwa.sumit@gmail.com
Subject: Re: BUG #15317: Sort order error
In-Reply-To: <153371119378.1298.16323419052428888575@wrigleys.postgresql.org>
References: <153371119378.1298.16323419052428888575@wrigleys.postgresql.org>
* 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