PostgreSQL Bugs

Collected from the PG bugs email list.

Bug ID15919
PG Version11.4
OSCentOS Linux release 7.6.1810 (Core)
Opened2019-07-19 11:48:04+00
Reported by强 魏
StatusNew

Body of first available message related to this bug follows.

The following bug has been logged on the website:

Bug reference:      15919
Logged by:          强 魏
Email address:      (redacted)
PostgreSQL version: 11.4
Operating system:   CentOS Linux release 7.6.1810 (Core)
Description:        

postgres@[local]:5433[postgres]#select * from t order by info desc;
+------+
| info |
+------+
| S    |
| s    |
+------+
(2 rows)

Time: 0.718 ms
postgres@[local]:5433[postgres]#select * from t order by info asc;
+------+
| info |
+------+
| s    |
| S    |
+------+
(2 rows)

Time: 0.789 ms
postgres@[local]:5433[postgres]#select ascii('s') AS "s",ascii('S') AS
"S";
+-----+----+
|  s  | S  |
+-----+----+
| 115 | 83 |
+-----+----+
(1 row)

Time: 0.381 ms
postgres@[local]:5433[postgres]#show lc_collate 
postgres-# ;
+-------------+
| lc_collate  |
+-------------+
| en_US.UTF-8 |
+-------------+
(1 row)

Time: 0.407 ms

Messages

DateAuthorSubject
2019-07-19 11:48:04+00PG Bug reporting formBUG #15919: When sorting, does the result show that S > s is correct?
2019-07-19 14:16:13+00Tom LaneRe: BUG #15919: When sorting, does the result show that S > s is correct?