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 1pVMZU-0005zZ-9p for pgsql-hackers@arkaria.postgresql.org; Fri, 24 Feb 2023 01:08:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pVMYU-0002tp-SI for pgsql-hackers@arkaria.postgresql.org; Fri, 24 Feb 2023 01:07:22 +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 1pVMYU-0002oX-J9 for pgsql-hackers@lists.postgresql.org; Fri, 24 Feb 2023 01:07:22 +0000 Received: from mail-il1-x133.google.com ([2607:f8b0:4864:20::133]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pVMYQ-0004Fe-La for pgsql-hackers@lists.postgresql.org; Fri, 24 Feb 2023 01:07:21 +0000 Received: by mail-il1-x133.google.com with SMTP id b12so3825292ils.8 for ; Thu, 23 Feb 2023 17:07:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20210112.gappssmtp.com; s=20210112; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=l1wbuG1dNwhsgQbL46nu/+ShJUOhBdfJoQUwSzStJ5M=; b=V4cM58E5fq0avhJVQoh5tzt8jipxI+PlWgDzSAEzFeTKeH6Wr1xlUT+MEeABf+kO0e Sg1MenAlbJwS/Oil55BYYpH02IueWluLmbrWO6/zv8DVInTOvx5RlbCpCoeXmXmNHR06 ZiLDrz3w7dtVGVgKk4B9B/OMOTJnvEBasryLFtjIKEA+4jNj77WcvjnsXzQUVEppSaxR zLE5Lpd2dbJOIdzUZVpkI7KzklT99y1tTFWeEZkJGa7jwLYgItLBi/fa7IpIWElFBnQ9 BUoJmAwUy9fAwYSzmUcgBvlQwiz9QNzOqC6uDJxA7yMsjBOreoobpmp09sdPL8KyUU9r xGew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=l1wbuG1dNwhsgQbL46nu/+ShJUOhBdfJoQUwSzStJ5M=; b=d6fi7pN5BB/Zi7qCnlKno7cFxadp1stYBdjdjxnZiVngo+PEJ5GyTWQLMMH08NywNm c1k2PoSyw/DowfmONn1We+a3Q20HjqUzhzE12iOw3fatabIyRVBihDGLGBb6JyVZME7D 2QSKkexravRjszVSrUPeDXo00eCr9DQsy+i/swNmZ+HGgq+a+3nvN7l11AVRPOevcpc8 nIt8/o1tgRXCFT1b+r0O9IeiU5u3IpGFYe4Q8wa/lV8CtVI+kIlz6zRMgU/+SOcW6e6F yyv46DQKdNCe5hKJc8/9At6/tZdWwWAs442mNaZEDHegTng4Bb4PEPuy1DMKY/yPU9BE 0lMw== X-Gm-Message-State: AO0yUKUNssTMrD4bVxfPGOmxLLRAp0Tla/n74pXav84HtPcKfn+y/K2E Nb0IFvoLLPUnIlb8aZZpR/KhXQ== X-Google-Smtp-Source: AK7set+uWLBuydyApyA7pjZNvaCWXo5sJJbiAfdWGVuCzfBGOQOMObY+Oz5oQ94Svo1gB6O4IdV/CQ== X-Received: by 2002:a05:6e02:8b1:b0:315:7fd1:687e with SMTP id a17-20020a056e0208b100b003157fd1687emr10084282ilt.7.1677200837585; Thu, 23 Feb 2023 17:07:17 -0800 (PST) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id p8-20020a02c808000000b003c514731e6csm3988202jao.143.2023.02.23.17.07.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Feb 2023 17:07:17 -0800 (PST) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id 31867800354; Thu, 23 Feb 2023 19:07:16 -0600 (CST) Date: Thu, 23 Feb 2023 19:07:16 -0600 From: Justin Pryzby To: Thomas Munro Cc: Jeff Davis , pgsql-hackers@lists.postgresql.org Subject: Re: pgsql: Refactor to add pg_strcoll(), pg_strxfrm(), and variants. Message-ID: <20230224010715.GR1653@telsasoft.com> References: <20230224002029.GQ1653@telsasoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, Feb 24, 2023 at 01:56:05PM +1300, Thomas Munro wrote: > On Fri, Feb 24, 2023 at 1:20 PM Justin Pryzby wrote: > > These patches cause warnings under MSVC. > > > > Of course my patch to improve CI by warning about compiler warnings is > > the only one to notice. > > > > https://cirrus-ci.com/task/6199582053367808 > > It's a shame that it fails the whole Windows task, whereas for the > Unixen we don't do -Werror so you can still see if everything else is > OK, but then we check for errors in a separate task. I don't have any > ideas on how to achieve that, though. My patch isn't very pretty, but you can see that runs all the tests before grepping for warnings, rather than failing during compilation as you said. IMO the compiler warnings task is separate not only "to avoid failing the whole task during compilation", but because it's compiled with optimization. Which is 1) needed to allow some warnings to be warned about; and, 2) harmful to enable during the "check-world" tests, since it makes backtraces less accurate. -- Justin