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 1oqegX-000749-8V for pgsql-hackers@arkaria.postgresql.org; Thu, 03 Nov 2022 18:11:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oqegW-0000da-3y for pgsql-hackers@arkaria.postgresql.org; Thu, 03 Nov 2022 18:11:24 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oqegV-0000dQ-Ms for pgsql-hackers@lists.postgresql.org; Thu, 03 Nov 2022 18:11:23 +0000 Received: from mail-io1-xd31.google.com ([2607:f8b0:4864:20::d31]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oqegT-000083-V3 for pgsql-hackers@postgresql.org; Thu, 03 Nov 2022 18:11:23 +0000 Received: by mail-io1-xd31.google.com with SMTP id h206so2008987iof.10 for ; Thu, 03 Nov 2022 11:11:21 -0700 (PDT) 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=quZCqhpcJCb9HzRKEUFGA+rfOpndTK/Z7BfLHRRsr/E=; b=q2gjKEWLJ6RQtlBEhAdEh1iR+/Cu232BkW21XJF3i/G37fT2NKEa09zxaa73Nx0pxR QqVi6zPbRnu99Mab0grsDCj3ewW5pclOk7h0kGlnq9ivVooVCut3e9imRsn4TDUUN1DI kjSOYlBbPYQ3qnO052MYI1OPvelLTtudqIjwbfwGR58IV0Y6+LoqgU1DDyI26yHx3yXT BkHaTYGYLXGfHBuhRlyRMkegPAmIvcbfLDSpHDWhYuKltnxwM5ZTmyENlyxz284EHk2R o872Np7n13F9p4cYMkkmDlqy1uQb68+1Sv3KThz20Hm2HtfiPtJi4rMHTbXM7Fpqg+Er +yLA== 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=quZCqhpcJCb9HzRKEUFGA+rfOpndTK/Z7BfLHRRsr/E=; b=QJ8BAJb9lFsPkbJnHwV8iOb8whrLaQZDsfLF1xWCuH/PqUKXkq5+s9OaTA/pxZM7bQ 6G+0pga7mNgPcIyyMXFuJ09qctWhLtwVTBOKoHtcetgJsnUUEVVSRMVsIzN5MopgtCrh lXDW1Hd5pyCfmnXY15nuXICzRABrnNf4YhUDBJb920jBEG74GhEnmL5e52uJ9VQ03v6a zdJvWd7dI4TnCwtusUMGWGC57Wi0H6ukM9sqj2LfK2O1czCnJp+MisQ1ZcQ0Mb9D3Zua N3kPRy026Rhb5uvWPWytal/xc0XMtPAJ7dzLudpyznLitQ6tMC268pDVX+AXsehTIQXK zbDw== X-Gm-Message-State: ACrzQf28adBO48TmWPs2F4eP/k2NwEkv4ZNymdnLiNwB8nrdTe3AVNuf qn1GvY9ircYPy+n79FDP6YzNhGu/naW5SVcV X-Google-Smtp-Source: AMsMyM4a/h3trXGNHKX+aoVYqJEvSzZI/8Vmdp2t3oOrGLUdq8s9O4IZF4898fVkOtBveMZkb8/dNw== X-Received: by 2002:a05:6638:1687:b0:374:fbbd:6617 with SMTP id f7-20020a056638168700b00374fbbd6617mr19800208jat.201.1667499080071; Thu, 03 Nov 2022 11:11:20 -0700 (PDT) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id b8-20020a92ce08000000b002f5447b47f8sm527556ilo.33.2022.11.03.11.11.19 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 Nov 2022 11:11:19 -0700 (PDT) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id 9A8FC8009D6; Thu, 3 Nov 2022 13:11:18 -0500 (CDT) Date: Thu, 3 Nov 2022 13:11:18 -0500 From: Justin Pryzby To: Andrew Dunstan Cc: Jehan-Guillaume de Rorthais , pgsql-hackers@postgresql.org Subject: Re: Fix proposal for comparaison bugs in PostgreSQL::Version Message-ID: <20221103181118.GX16921@telsasoft.com> References: <20220628225325.53d97b8d@karst> 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 Tue, Jun 28, 2022 at 06:17:40PM -0400, Andrew Dunstan wrote: > Nice catch, but this looks like massive overkill. I think we can very > simply fix the test in just a few lines of code, instead of a 190 line > fix and a 130 line TAP test. > > It was never intended to be able to compare markers like rc1 vs rc2, and > I don't see any need for it. If you can show me a sane use case I'll > have another look, but right now it seems quite unnecessary. > > Here's my proposed fix. > > diff --git a/src/test/perl/PostgreSQL/Version.pm b/src/test/perl/PostgreSQL/Version.pm > index 8f70491189..8d4dbbf694 100644 > --- a/src/test/perl/PostgreSQL/Version.pm Is this still an outstanding issue ? -- Justin