pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: 1726002692@qq.com
Subject: BUG #15919: When sorting, does the result show that S > s is correct?
Date: Fri, 19 Jul 2019 11:48:04 +0000
Message-ID: <15919-187cdb0f64d34ab9@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      15919
Logged by:          强 魏
Email address:      1726002692@qq.com
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



view thread (2+ messages)  latest in thread

Message-ID: <15919-187cdb0f64d34ab9@postgresql.org>
Permalink:  ../15919-187cdb0f64d34ab9@postgresql.org/
Also on:    postgresql.org/message-id/15919-187cdb0f64d34ab9@postgresql.org

 · 

reply

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, 1726002692@qq.com
  Subject: Re: BUG #15919: When sorting, does the result show that S > s is correct?
  In-Reply-To: <15919-187cdb0f64d34ab9@postgresql.org>
  References: <15919-187cdb0f64d34ab9@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