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 1mzYkM-0008HK-SD for pgsql-general@arkaria.postgresql.org; Tue, 21 Dec 2021 06:35:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mzYkL-0002pO-Or for pgsql-general@arkaria.postgresql.org; Tue, 21 Dec 2021 06:35:37 +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 1mzYkL-0002pE-ET for pgsql-general@lists.postgresql.org; Tue, 21 Dec 2021 06:35:37 +0000 Received: from mail-ot1-x336.google.com ([2607:f8b0:4864:20::336]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mzYkH-0002K4-Ar for pgsql-general@lists.postgresql.org; Tue, 21 Dec 2021 06:35:36 +0000 Received: by mail-ot1-x336.google.com with SMTP id r10-20020a056830080a00b0055c8fd2cebdso15463883ots.6 for ; Mon, 20 Dec 2021 22:35:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language; bh=y+nlgNHTqal+WhnwsgfcMl41gh9Whu4Gduirt7j14+I=; b=jUnNEYc43utLJ7U1IAMnol2X+NvUkm0mJaydi4JMvqsXC5iQ2TYhLxpasZY5sZvKhp hRQMfAFg0DXTs0UJPswREpleXhxvK8vlaAsjLV53NPn8WVyks1U5nibTJV3cNpSdjle4 gWOdVttcj42a75eDVktDtPwkk22ylo9xvKS4F/Q4L1FbP5W13oX2dMcjDhuyPlmc/r9S mX6gJnR04vMdl/hqU7aPKkHjjs9YdTwlN7JO6tQofwOjON7RrdGtqJ/lf77FEAGaid6l FbsQLe2XI1Qwc9Rg4/j7uUEbQWdg83KcbV1xQ1CJ0QHjlnKb3OoeVxlXC00JO+A8EIbZ mExQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=y+nlgNHTqal+WhnwsgfcMl41gh9Whu4Gduirt7j14+I=; b=ghd5e3DDA3OR/wxeTRcrpO0nIx7YM+uSp4b92IrjgyBMldohcVBSWqS5MHtPR4SAPU +ztnL7fjvSOH6KvnGmx9EDtGMH8pP0YC9IN4GQ+jEDZUSbraBuLO+LUUGd7pF8QQACnS Snjg1j+c2bYed/CzPcNThTmmj7mQj3xqmps/htBx0rG6E8H25mjU5C4nPTXAy17JLCgt 2qNT/b9O73lsZcrftacTYFR2mbTFpWp+IlL9QJTyV58AP0al2qu4dBmsC8IRreyVbzk9 sX2LBeAJlPISHRABznLPPyqATcFtweySCb9FYw+81yMnZPbJD/v8oaH15PQ7zWs318m2 5Z/A== X-Gm-Message-State: AOAM530bOxE1Y8a5t96U6PSXGbTWd2N6J9qGjYiN0VW0vlxSw5RNlRzI jZgYckCy+PPjHtWR5DxffYyjhVLKSCY= X-Google-Smtp-Source: ABdhPJxz2m61ivt55bgcs8BYrBnmZysNZrqrSbHnRQanEptIHRvuAhl6x+9wFwhXhdE48DaeQ0Hv3A== X-Received: by 2002:a05:6830:601:: with SMTP id w1mr1188777oti.267.1640068532349; Mon, 20 Dec 2021 22:35:32 -0800 (PST) Received: from [192.168.88.10] (ip68-11-68-85.no.no.cox.net. [68.11.68.85]) by smtp.googlemail.com with ESMTPSA id bp11sm4082267oib.38.2021.12.20.22.35.31 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 20 Dec 2021 22:35:31 -0800 (PST) Subject: Re: Sorting difference in version 10 vs 13 To: pgsql-general@lists.postgresql.org References: <2705832.1640063563@sss.pgh.pa.us> From: Ron Message-ID: Date: Tue, 21 Dec 2021 00:35:30 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------25B5C6218B32F48EF3A4454F" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------25B5C6218B32F48EF3A4454F Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Aurora is sufficiently different from vanilla Postgresql that you need to ask Amazon. On 12/20/21 11:31 PM, Akheel Ahmed wrote: > > Both are Amazon AWS Aurora instances. 10.x is on intel/amd64. 13.x is on > their ARM based graviton. > > > select version(); >                                                    version > ------------------------------------------------------------------------------------------------------------- >  PostgreSQL 13.4 on aarch64-unknown-linux-gnu, compiled by > aarch64-unknown-linux-gnu-gcc (GCC) 7.4.0, 64-bit > (1 row) > > > select version(); >                                              version > -------------------------------------------------------------------------------------------------- >  PostgreSQL 10.18 on x86_64-pc-linux-gnu, compiled by > x86_64-pc-linux-gnu-gcc (GCC) 7.4.0, 64-bit > (1 row) > > > On 21/12/2021 3:12 pm, Tom Lane wrote: >> Akheel Ahmed writes: >>> in 13.4, order by asc gives underscores higher than other characters. >>> all the LC parameters are identical across both instances. >>> Am I missing anything else? >> OS-level differences, perhaps? >> >> https://wiki.postgresql.org/wiki/Locale_data_changes >> >> regards, tom lane -- Angular momentum makes the world go 'round. --------------25B5C6218B32F48EF3A4454F Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit Aurora is sufficiently different from vanilla Postgresql that you need to ask Amazon.

On 12/20/21 11:31 PM, Akheel Ahmed wrote:

Both are Amazon AWS Aurora instances. 10.x is on intel/amd64. 13.x is on their ARM based graviton.


select version();
                                                   version
-------------------------------------------------------------------------------------------------------------
 PostgreSQL 13.4 on aarch64-unknown-linux-gnu, compiled by aarch64-unknown-linux-gnu-gcc (GCC) 7.4.0, 64-bit
(1 row)


select version();
                                             version
--------------------------------------------------------------------------------------------------
 PostgreSQL 10.18 on x86_64-pc-linux-gnu, compiled by x86_64-pc-linux-gnu-gcc (GCC) 7.4.0, 64-bit
(1 row)



On 21/12/2021 3:12 pm, Tom Lane wrote:
Akheel Ahmed <akheel.mailing.list@gmail.com> writes:
in 13.4, order by asc gives underscores higher than other characters. 
all the LC parameters are identical across both instances.
Am I missing anything else?
OS-level differences, perhaps?

https://wiki.postgresql.org/wiki/Locale_data_changes

			regards, tom lane

--
Angular momentum makes the world go 'round.
--------------25B5C6218B32F48EF3A4454F--