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 1oFnrn-000437-CC for pgsql-hackers@arkaria.postgresql.org; Mon, 25 Jul 2022 02:30:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oFnrl-0006fx-6h for pgsql-hackers@arkaria.postgresql.org; Mon, 25 Jul 2022 02:30:41 +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 1oFnrk-0006fn-TM for pgsql-hackers@lists.postgresql.org; Mon, 25 Jul 2022 02:30:40 +0000 Received: from oss.nttdata.com ([49.212.34.109]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oFnrh-0005Wk-D8 for pgsql-hackers@postgresql.org; Mon, 25 Jul 2022 02:30:40 +0000 Received: from [10.6.216.82] (unknown [203.180.48.65]) by oss.nttdata.com (Postfix) with ESMTPSA id 29FEF608BE; Mon, 25 Jul 2022 11:30:31 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.6 at oss.nttdata.com Message-ID: <4c27fe77-c1c9-b1aa-d6cf-b6e840a9f6ce@oss.nttdata.com> Date: Mon, 25 Jul 2022 11:30:30 +0900 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: Remove useless arguments in ReadCheckpointRecord(). Content-Language: en-US To: Kyotaro Horiguchi Cc: bharath.rupireddyforpostgres@gmail.com, pgsql-hackers@postgresql.org References: <97978a70-bbaf-c7b6-9b0f-d8b21ba9f0da@oss.nttdata.com> <20220721.145449.214151305475458058.horikyota.ntt@gmail.com> <26a2ac05-b632-c3c5-3052-309137fd77d3@oss.nttdata.com> <20220722.173152.296817663081387846.horikyota.ntt@gmail.com> From: Fujii Masao In-Reply-To: <20220722.173152.296817663081387846.horikyota.ntt@gmail.com> 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 2022/07/22 17:31, Kyotaro Horiguchi wrote: > I believed that it is recommended to move to the style not having the > outmost parens. That style has been introduced by e3a87b4991. I read the commit log, but I'm not sure yet if it's really recommended to remove extra parens even from the existing calls to errmsg(). Removing extra parens can interfere with back-patching of the changes around those errmsg(), can't it? Anyway, at first I pushed the 0001 patch that removes useless arguments in ReadCheckpointRecord(). Regards, -- Fujii Masao Advanced Computing Technology Center Research and Development Headquarters NTT DATA CORPORATION