Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lGqYI-0007KZ-8W for pgsql-bugs@arkaria.postgresql.org; Mon, 01 Mar 2021 21:58:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lGqYH-000680-6Z for pgsql-bugs@arkaria.postgresql.org; Mon, 01 Mar 2021 21:58:05 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lGqYH-00067t-0j for pgsql-bugs@lists.postgresql.org; Mon, 01 Mar 2021 21:58:05 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lGqYF-0007Ni-10 for pgsql-bugs@lists.postgresql.org; Mon, 01 Mar 2021 21:58:04 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 121Lw1HK851119; Mon, 1 Mar 2021 16:58:01 -0500 From: Tom Lane To: =?UTF-8?B?0JDQvdCw0YHRgtCw0YHQuNGPINCb0LDQs9GD0YLQsA==?= cc: pgsql-bugs@lists.postgresql.org Subject: Re: ORDER BY DESC / ASC In-reply-to: References: Comments: In-reply-to =?UTF-8?B?0JDQvdCw0YHRgtCw0YHQuNGPINCb0LDQs9GD0YLQsA==?= message dated "Mon, 01 Mar 2021 19:52:09 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <851117.1614635881.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Mon, 01 Mar 2021 16:58:01 -0500 Message-ID: <851118.1614635881@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk =3D?UTF-8?B?0JDQvdCw0YHRgtCw0YHQuNGPINCb0LDQs9GD0YLQsA=3D=3D?=3D writes: > There is an issue found while using ORDER BY DESC / ASC, where letter 'w= ' > is before letter 'v'. Should it be that way? Depends on what LC_COLLATE setting you're using. I think some languages do sort that way, at least in some contexts. regards, tom lane