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 1spu1T-005KqH-SN for pgsql-committers@arkaria.postgresql.org; Sun, 15 Sep 2024 18:31:01 +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 1spu1T-004BOM-Ae for pgsql-committers@arkaria.postgresql.org; Sun, 15 Sep 2024 18:30:59 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1spu1S-004BOE-Sc for pgsql-committers@lists.postgresql.org; Sun, 15 Sep 2024 18:30:59 +0000 Received: from mail-qt1-x836.google.com ([2607:f8b0:4864:20::836]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1spu1L-001LuU-E2 for pgsql-committers@lists.postgresql.org; Sun, 15 Sep 2024 18:30:57 +0000 Received: by mail-qt1-x836.google.com with SMTP id d75a77b69052e-4581ee65b46so24025411cf.3 for ; Sun, 15 Sep 2024 11:30:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dunslane-net.20230601.gappssmtp.com; s=20230601; t=1726425051; x=1727029851; darn=lists.postgresql.org; h=in-reply-to:autocrypt:content-language:from:references:to:subject :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=Pfw2wTVpVnGjTIPeRuDNVErsv3c6+5fOanwb532o8RY=; b=KZDemii/P9QlFzMkmSMU869pezlhgx6fra/PL5fGCJG1qSgUjLT2UU7kts/5PHVGFX sc9P8Vu9y9nxs9roj9aKre7b+H7rxWnx1hWIWwLFKnesmr3naBB2htBIUGQ2Znvl7XYB uO6l04UYkiFh+lMkEkBxzCTFpcMNRpbPB1VACPecWvHXviWp/iyLeuKHLtFIq8oG6DqH nqZmNV1K/j/eju19g/HwzrQmnom4uN8E/cV4RtGyFW/HI2OyeZeWpraXCbRUgESYBvb4 +/jyxxtWhcHGReojR3qCnebGZO2l0IJHsbKeH3/wE3gku0JWj/aCpEecT/uHdpFC/pPN IFmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726425051; x=1727029851; h=in-reply-to:autocrypt:content-language:from:references:to:subject :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=Pfw2wTVpVnGjTIPeRuDNVErsv3c6+5fOanwb532o8RY=; b=mxPALLSREJGnI/EVVEFlFUPwCG73CsJ1Ie0GcXnlPf4exU6SY9H2CTKbngHdpfao6P hTJ951sBhpx3z5eV/0mQ8HOwkFDbsfH/4Mwjr7E7r62v97LMAWnDJQiboGY28g7SCvC0 xcGfT0eETGeTOjGPaJdmidIdjzDo6wO8ve5h9oXrZYwEMggt9MongE8UjREhgzK/cPZd sNEaDLqWBbg00HiD3s13wfQgDG3PX71wwP+tTK6PaMuHCJf57u/m29QgBuTgCTs9eQ6s mCP61czUAYwTeVqdS4+drfsVzUdrOP5pdhP7yiSnxtIDau7h3M8OvCg0OdYD43yMP6YO VOwQ== X-Forwarded-Encrypted: i=1; AJvYcCW9nClFP8mU7XeNkSkx30yWjv8Mpe9HAjz6OO1vmCX62wj+gGJQmgwnaqmqMzKqq7Im00KLouqenuOIeJPS58FD@lists.postgresql.org X-Gm-Message-State: AOJu0YxglIcL0fUipQIEuj5ofyI297wObq0C/R5EeMy22F7O/b0ffgrz IkW2X3XMhdLuPHwIu5hs0QRCzLlYyW6ol1axJ47gGJ+iSpF3S0XrQ2thkoATpnN9T30hWcVXcs4 o X-Google-Smtp-Source: AGHT+IF0n1XaTpBQoy2yOHUbnabEO+lwdzDMagsarEm7pZGq2CMQVbr6leI/vRI1+wypPc8lWYaEGg== X-Received: by 2002:a05:622a:414:b0:458:2230:a478 with SMTP id d75a77b69052e-4599d2ad8d4mr152166711cf.50.1726425050611; Sun, 15 Sep 2024 11:30:50 -0700 (PDT) Received: from ?IPV6:2605:a601:9180:9800::2bb? ([2605:a601:9180:9800::2bb]) by smtp.googlemail.com with ESMTPSA id d75a77b69052e-459aad038besm19603991cf.64.2024.09.15.11.30.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 15 Sep 2024 11:30:50 -0700 (PDT) Content-Type: multipart/alternative; boundary="------------sFAFRZaNuA4jbVuwHXueWDcR" Message-ID: <66b5b1d6-3f2a-4944-91a3-7e40a565ccac@dunslane.net> Date: Sun, 15 Sep 2024 14:30:47 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: pgsql: Perl scripts: eliminate "Useless interpolation" warnings To: Bruce Momjian , pgsql-committers@lists.postgresql.org References: From: Andrew Dunstan Content-Language: en-US Autocrypt: addr=andrew@dunslane.net; keydata= xsBNBE7KWFkBCAClridxur2AIc7eW2AR7izbfp3EnNefie2HbLF0izW5Ik5UjX2HBXBx4syI gY6b0ugohXrr274+baoAlvSbq6cAoQuEVrk5IZFzt20b1Xkx65FwGSEj526yiKLocqkJceSq Xr9xcA5SGY+FZv441chh5SU92v4q6z+6LPpoHOh97ptAVXZYNTtU0LevyvD5lja0TzbvJm6C eFXitJfnm1pLEr0DGJCR/iUOl/N62Kh4855zZC7NHIjQHPOvV5Stz/l5ilDhvGVk+xkXFPys SjZoUr1rXhYLpiyi5sR0X9FHXT0KnGuz1F5ERO7ZTLSSQ6fJwPj6gOk9K+vvoKvoeql5ABEB AAHNJEFuZHJldyBEdW5zdGFuIDxhbmRyZXdAZHVuc2xhbmUubmV0PsLAmwQTAQgARQIbAwIX gAIZAQULCQgHAgMiAgEGFQoJCAsCBBYCAwECHgcWIQTkPlhGHfx8v0RpFaWZ+n/LWfw7gQUC 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AqTdJO12LBuNA1rlqrR3EtpYk8B/wtS 5dIMD7Q8hwQpL+4C6GNpb6ZKnPkLi47pDOLhz2qBrqN+rqUEsT3YnExYpzj5yOBi+FlmV1Hw 49QYe1sn2ZPs In-Reply-To: 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. --------------sFAFRZaNuA4jbVuwHXueWDcR Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2024-09-15 Su 10:56 AM, Bruce Momjian wrote: > Perl scripts: eliminate "Useless interpolation" warnings > > Eliminate warnings of Perl Critic from src/tools. > > Backpatch-through: master I don't understand this commit. The buildfarm members crake and koel regularly run the perl critic checks and have not complained. See for example from before this change: The change doesn't seem to have had any discussion either. This particular warning is surely a very low level (i.e. fairly unimportant) one, of the type we normally ignore. If some version of perlcritic has raised it to severity 5 then the correct action IMNSHO would be to add an exception for it to the perlcriticrc, like we do for ProhibitLeadingZeros. If not, then perhaps you can explain how you got the warnings. cheers andrew -- Andrew Dunstan EDB:https://www.enterprisedb.com --------------sFAFRZaNuA4jbVuwHXueWDcR Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit



On 2024-09-15 Su 10:56 AM, Bruce Momjian wrote:
Perl scripts:  eliminate "Useless interpolation" warnings

Eliminate warnings of Perl Critic from src/tools.

Backpatch-through: master



I don't understand this commit. The buildfarm members crake and koel regularly run the perl critic checks and have not complained. See for example from before this change: <https://buildfarm.postgresql.org/cgi-bin/show_stage_log.pl?nm=koel&dt=2024-09-15%2003%3A34%3A02&stg=perl-check>

The change doesn't seem to have had any discussion either. This particular warning is surely a very low level (i.e. fairly unimportant) one, of the type we normally ignore. If some version of perlcritic has raised it to severity 5 then the correct action IMNSHO would be to add an exception for it to the perlcriticrc, like we do for ProhibitLeadingZeros. If not, then perhaps you can explain how you got the warnings.


cheers


andrew



--
Andrew Dunstan
EDB: https://www.enterprisedb.com
--------------sFAFRZaNuA4jbVuwHXueWDcR--