From: | PG Bug reporting form <noreply(at)postgresql(dot)org> |
---|---|
To: | pgsql-bugs(at)lists(dot)postgresql(dot)org |
Cc: | pahwa(dot)sumit(at)gmail(dot)com |
Subject: | BUG #15317: Sort order error |
Date: | 2018-08-08 06:53:13 |
Message-ID: | 153371119378.1298.16323419052428888575@wrigleys.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
The following bug has been logged on the website:
Bug reference: 15317
Logged by: sumit pahwa
Email address: pahwa(dot)sumit(at)gmail(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | PG Bug reporting form | 2018-08-08 08:15:22 | BUG #15318: ERROR: current transaction is aborted, commands ignored until end of transaction block |
Previous Message | Tom Lane | 2018-08-08 02:53:49 | Re: BUG #15316: pg_restore failes to load data that is constrainted by a functional check constraints |