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 1spxP1-005mOe-6Y for pgsql-committers@arkaria.postgresql.org; Sun, 15 Sep 2024 22:07:32 +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 1spxP0-006e2u-Iq for pgsql-committers@arkaria.postgresql.org; Sun, 15 Sep 2024 22:07:30 +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 1spxP0-006dxz-4l for pgsql-committers@lists.postgresql.org; Sun, 15 Sep 2024 22:07:30 +0000 Received: from mail-qk1-x736.google.com ([2607:f8b0:4864:20::736]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1spxOv-001NSE-Qz for pgsql-committers@lists.postgresql.org; Sun, 15 Sep 2024 22:07:29 +0000 Received: by mail-qk1-x736.google.com with SMTP id af79cd13be357-7a95efbaf49so81399685a.3 for ; Sun, 15 Sep 2024 15:07:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dunslane-net.20230601.gappssmtp.com; s=20230601; t=1726438045; x=1727042845; darn=lists.postgresql.org; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=QqMg5Xeuge/NHK2dzzDtzD64e9n/y68lZUZhJyL3Srw=; b=odjBRS8EuY52Jdl8zQru5/Xv9uLqlrLmB93iWaMR5W6INoaChYbRgBbSqhi19SZ4h1 Sg6odO5+iFhtxI1Ke6NAOqUyBlObaUEI4pyUueTFhJk19/i97V6xQhQ3oLIfu6BIMcWc UA+dQPJdna0pUYQbAxbLGhukLqwP6bX3051yXgiEL9uMaaXw9A7afYsHt90BquA2Ts9l yT/j+14GhAPuEF3PdsyxmT5EBcvulbny74800I8MACgPJvw/dObbdAG27rtpXIFdYuiz q5W8u6BJiebhoTmFLWO3fmY1OyAFSU/M0GEu5jvAtlCAaHr5U4mXEcaVOXGiaCqTgUad PN8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726438045; x=1727042845; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=QqMg5Xeuge/NHK2dzzDtzD64e9n/y68lZUZhJyL3Srw=; b=QkNm2DVV1LBYzsQnwAOmMLicHpoIYZEFkl8W1Xa1McW4yHZyjAwocr3EvQAGVNqG/M 49IOwTNgQAC/mAc9c8VKvJY/oxfEg61WfIgXMxfhw5IBW/5dAt2uXUm9QuyDfDmWbMfO S7DzM4rPhYc6iSBCfW+vRhOfO+hbLwKjYwQQ6k5rpyFpFyfiNEbnCAaYx8eXraOtCaAe /0p2ZU9VeOZ4eGRbtgRfnkkY4o5UCnLlPGz0hrY4Pg/elWzGrlJ94NnzrQIByXZ8teOp oWLHXcipPJxOQdxiomqGxUdn47zfeEAlNPJQw6jKG6kKiK7HB6w+JaBb9x95FM7blNDo WiCQ== X-Gm-Message-State: AOJu0YwVsAT6UmVL4Pldo0M1CWuYmEdVkhfYmDilOQCT2YIPZQUojhN6 r3RhGTF+kDAWYb/DQrTto+iM+E2Sc+eVT3HFRj0LxtYHJgaeHJ50y24oc8WfrBY= X-Google-Smtp-Source: AGHT+IGnObazRVLtGkJ61Gurydiz1P2HH+W8NlD7hnmJOXY/UXZgXOdbXp1KrsPSUM6b8iGhO1UfeQ== X-Received: by 2002:a05:620a:3908:b0:7a9:d0d2:a5fc with SMTP id af79cd13be357-7ab30d17b6amr1672545185a.15.1726438044935; Sun, 15 Sep 2024 15:07:24 -0700 (PDT) Received: from ?IPV6:2605:a601:9180:9800::2bb? ([2605:a601:9180:9800::2bb]) by smtp.googlemail.com with ESMTPSA id af79cd13be357-7ab3e95bce0sm192037985a.3.2024.09.15.15.07.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 15 Sep 2024 15:07:24 -0700 (PDT) Message-ID: <42f2242a-422b-4aa3-8d60-d67b229c4a52@dunslane.net> Date: Sun, 15 Sep 2024 18:07:21 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: pgsql: Perl scripts: eliminate "Useless interpolation" warnings To: Bruce Momjian Cc: pgsql-committers@lists.postgresql.org References: <66b5b1d6-3f2a-4944-91a3-7e40a565ccac@dunslane.net> 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 ZFlxxwUJGVGAbgAKCRCZ+n/LWfw7gXikB/9ZdcUy6CTBFIIuL/bVsc1eLEW/gJBjJBF6HxNY xg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+rqUEsT3YnExYpzj5yOBi+FlmV1Hw 49QYe1sn2ZPs In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2024-09-15 Su 4:36 PM, Bruce Momjian wrote: > On Sun, Sep 15, 2024 at 04:33:49PM -0400, Andrew Dunstan wrote: >> I understand perfectly what the warning is about. >> >> But the project's perlcritic policy is expressed at src/tools/perlcheck/ >> perlcriticrc. It's basically severity 5 plus some additions and one exception. >> We shouldn't be imposing our personal perlcritic policies on the project. >> >> The change isn't bad in itself, but there shouldn't be any expectation that we >> will keep to this policy, as it's not required by project policy. >> >> There is a huge mass of perlcritic issues in our perl code at severity 1 (over >> 13000 by my count). If we're going to clean them up (which I would oppose) we >> should do it in a systematic way. It's hard to see why this one is special. > I guess it is special only because my policy is more strict so I wanted > my new code to match. Should I revert it? Yes I think so. > Is the very tiny improvement > not worth the churn in the code? Yeah, I don't think it is. cheers andrew -- Andrew Dunstan EDB: https://www.enterprisedb.com