Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s1d0t-00DdbR-Fi for pgsql-committers@arkaria.postgresql.org; Tue, 30 Apr 2024 02:14:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1s1d0q-003G2z-7J for pgsql-committers@arkaria.postgresql.org; Tue, 30 Apr 2024 02:14:33 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s1d0q-003G2r-0K for pgsql-committers@lists.postgresql.org; Tue, 30 Apr 2024 02:14:32 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s1d0o-000hPC-CQ for pgsql-committers@lists.postgresql.org; Tue, 30 Apr 2024 02:14:31 +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 43U2ESXL1544494; Mon, 29 Apr 2024 22:14:28 -0400 From: Tom Lane To: David Rowley cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Fix test case from b0c5b215d. In-reply-to: <1539986.1714441226@sss.pgh.pa.us> References: <1539986.1714441226@sss.pgh.pa.us> Comments: In-reply-to Tom Lane message dated "Mon, 29 Apr 2024 21:40:26 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1544492.1714443268.1@sss.pgh.pa.us> Date: Mon, 29 Apr 2024 22:14:28 -0400 Message-ID: <1544493.1714443268@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk I wrote: > I committed that suggestion, but I'm not sure it's enough to fix it, > because if I do > LANG=cs_CZ.utf8 make check > then I still get variant output order. I tried about six different > spellings of the query without improving matters, so I'm totally > baffled. Have we managed to break COLLATE "C"? (With one eye on > Jeff Davis' recent stuff, I could believe that, except I'd have > expected it to show up in other regression tests already.) Yeah, the affected buildfarm members seem still not happy. In simple testing such as select * from foo order by f1 collate "C"; the behavior seems as expected. I also confirmed that I see the test misbehavior locally with or without ICU. So I kind of think that this is not a failure in the sorting code per se. My current idea is that in a more complicated query such as the new test_pg_dump query, we are somehow losing the COLLATE "C" specification --- it's there in the Sort node according to EXPLAIN VERBOSE, but it sure doesn't seem to be having any effect. I'm too tired to look any closer tonight, though. regards, tom lane