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 1mJZAE-00030R-Dk for pgsql-hackers@arkaria.postgresql.org; Fri, 27 Aug 2021 10:32:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mJZAD-0006Yl-5g for pgsql-hackers@arkaria.postgresql.org; Fri, 27 Aug 2021 10:32:45 +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 1mJZAB-0006Yc-PZ for pgsql-hackers@lists.postgresql.org; Fri, 27 Aug 2021 10:32:44 +0000 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mJZA8-0008DW-EG for pgsql-hackers@lists.postgresql.org; Fri, 27 Aug 2021 10:32:43 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id B45F03200947; Fri, 27 Aug 2021 06:32:35 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Fri, 27 Aug 2021 06:32:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ilmari.org; h= from:to:cc:subject:references:date:in-reply-to:message-id :mime-version:content-type; s=fm2; bh=7948SsPy6xNo+hFOOgmDxwgdgt OB01VrTZytLXG6Sv8=; b=MN2GlaYF72farESIOjMEQta7fYNAqRT7s7OYcV+R2p 3/CVPaz5oj7fjEmLyQ9qKujK9sPm5M5F2N4Pa4r3Zt+NL8A/9YW/fPE4vM/Tc1IZ sAtugw32JbXLidxXj+imLTAQxwhrQl+/fWQi/tkqKRkhDtU46bDtUOEXxTpetcKr Bp71XW6sbLDCsbw8JY8/XbWgGftkCND1OWFWW6uIMEnYha6fNEPlPUdFTSD3kXwa PWqUOY2jRNxat3Ew1UmKU53qKqIHMElNKgwKadiQ3nnS086XjvqBc1Aq3+RmL1/q GiBpek5sCn69lM9FdJXwerMXQI4VKZz7Hxxe+xJS/fGw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=7948Ss Py6xNo+hFOOgmDxwgdgtOB01VrTZytLXG6Sv8=; b=eCiteBla3Q7mI11HPZ9YZt QH5BpARsPGueREeijesKj0CFnaJvu9+LRowFuZdCyBuq2vFE7YGV712sZGZWO8so BalAblGUTfGC79lGgNvKN5Cq+orI8ylNqTY6QjbBiogTVFg70k7WKd6nAb0O78FW 3wHvYjpg1d88PQrWBk4i95w9/nQw0l5D04yqqxhJRTfw3iOn/UXwZnNESdBrV/37 r6KbfaqdUBG+HQ4p8622zjbuVnznIjih1oBO/b3g32HxgCgwk/Gb51n1YTVOxUPB ZHyGjoT/J1mdyhQT60ibl4MQEguVwGUP3vaVjJJJ1uAd0XUfnYRze/f2z2qwJO+A == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddruddufedgfedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdlfeehmdenucfjughrpefhvffufhffjgfkfgggtgesthdtredttder jeenucfhrhhomhepffgrghhfihhnnhgpkfhlmhgrrhhipgforghnnhhsnohkvghruceoih hlmhgrrhhisehilhhmrghrihdrohhrgheqnecuggftrfgrthhtvghrnhepveevkedvfeef uedtffffleevhfdvtefghfejgffhteevueejhfehleeifedtgeehnecuvehluhhsthgvrh fuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepihhlmhgrrhhisehilhhmrghr ihdrohhrgh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 27 Aug 2021 06:32:33 -0400 (EDT) From: =?utf-8?Q?Dagfinn_Ilmari_Manns=C3=A5ker?= To: Michael Paquier Cc: Daniel Gustafsson , Andrew Dunstan , pgsql-hackers@lists.postgresql.org Subject: Re: perlcritic: prohibit map and grep in void conext References: <87fsvzhhc4.fsf@wibble.ilmari.org> <8aa32735-a310-e5b9-cdd4-1282b72ae8f3@dunslane.net> <8B793436-CB3B-469F-9034-DED161BB96B8@yesql.se> Date: Fri, 27 Aug 2021 11:32:30 +0100 In-Reply-To: (Michael Paquier's message of "Fri, 27 Aug 2021 15:10:23 +0900") Message-ID: <87mtp3uqip.fsf@wibble.ilmari.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Michael Paquier writes: > On Wed, Jul 28, 2021 at 01:26:23PM +0200, Daniel Gustafsson wrote: >> I'm fine with increasing this policy, but I don't have strong feelings. If we >> feel the perlcritic policy change is too much, I would still prefer to go ahead >> with the map rewrite part of the patch though. > > I have no issue either about the rewrite part of the patch, so I'd > tend to just do this part and move on. Daniel, would you like to > apply that? Why the resistance to the perlcritic part? That one case is the only violation in the tree today, and it's a pattern we don't want to let back in (I will surely object every time I see it when reviewing patches), so why not automate it? - ilmari