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.96) (envelope-from ) id 1vP5GV-003b1y-2n for pgsql-hackers@arkaria.postgresql.org; Fri, 28 Nov 2025 20:40:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vP5GR-00DQFK-2w for pgsql-hackers@arkaria.postgresql.org; Fri, 28 Nov 2025 20:40:24 +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.96) (envelope-from ) id 1vP5GR-00DQFC-20 for pgsql-hackers@lists.postgresql.org; Fri, 28 Nov 2025 20:40:23 +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.96) (envelope-from ) id 1vP5GP-0020Hx-10; Fri, 28 Nov 2025 20:40:22 +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 5ASKeJvx519381; Fri, 28 Nov 2025 15:40:19 -0500 From: Tom Lane To: =?utf-8?Q?=C3=81lvaro?= Herrera cc: Jeff Davis , pgsql-hackers@lists.postgresql.org Subject: Re: pgsql: Inline pg_ascii_tolower() and pg_ascii_toupper(). In-reply-to: <202511281759.7zxt6cjzikzx@alvherre.pgsql> References: <202511281759.7zxt6cjzikzx@alvherre.pgsql> Comments: In-reply-to =?utf-8?Q?=C3=81lvaro?= Herrera message dated "Fri, 28 Nov 2025 19:00:29 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <519379.1764362419.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Fri, 28 Nov 2025 15:40:19 -0500 Message-ID: <519380.1764362419@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk =3D?utf-8?Q?=3DC3=3D81lvaro?=3D Herrera writes: > On 2025-Nov-26, Jeff Davis wrote: >> Inline pg_ascii_tolower() and pg_ascii_toupper(). > I think this broke the CI on (some flavors of?) Windows. In > https://cirrus-ci.com/task/6080935063453696 > I got > [19:09:39.518] C:/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/15.2.0= /../../../../x86_64-w64-mingw32/bin/ld.exe: src/backend/postgres_lib.a.p/c= ommands_event_trigger.c.obj: in function `filter_list_to_array': > [19:09:39.518] c:\cirrus\build/../src/backend/commands/event_trigger.c:3= 77:(.text+0x2a5): undefined reference to `pg_ascii_toupper' That's bizarre. I checked recent cfbot rebuilds of some of my patches and there's no problem, also just looking at port.h it's impossible to see how this could happen. Some weird compiled-code caching misbehavior in CI, perhaps? regards, tom lane