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 1kAnDD-00031y-MB for pgsql-hackers@arkaria.postgresql.org; Wed, 26 Aug 2020 04:39:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kAnDB-0005qy-Hl for pgsql-hackers@arkaria.postgresql.org; Wed, 26 Aug 2020 04:39:01 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kAnDA-0005q7-JN for pgsql-hackers@lists.postgresql.org; Wed, 26 Aug 2020 04:39:01 +0000 Received: from forward2-smtp.messagingengine.com ([66.111.4.226]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kAnD7-0004Tl-7K for pgsql-hackers@postgresql.org; Wed, 26 Aug 2020 04:38:59 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailforward.nyi.internal (Postfix) with ESMTP id 02FA91941A56; Wed, 26 Aug 2020 00:38:56 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Wed, 26 Aug 2020 00:38:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding: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=rBzesuDkMRNwY1URFqceLCAy4qjeJY0ejFw00kWJz 6Q=; b=EgmT7HGbmTAciugOY3yGC8S2G78agFSISgNwfqq0ZuDaYZya6daLqRf8b 801OS7FMuz9+yq2qvxkjcMzPq6ePZSTd36d/77OgytKNv6xWAY7ej9/0oFa4JRps iC3cCyF156cpt1hza5qyO/AkLK3YMcOOIKToeN2P67Qv6AJIpt4w3mHveruxkkCH weB4ExZrzIJcqfspiBdauBNWkv4PSflDRn+JDFRp8FRr4VyYOFUMc2zednk/KCSV zR/6pDf/ac/mhTf3olKAhzSEgiNCgiZbIJeRFcmh5u//zjcNLSOfmA6IeXUTwKjb MGd9YY8q16+fPhgRZ41AZVyNXip+A== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedruddvuddgkeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefuvfhfhfhokffffgggjggtgfesth ejredttdefjeenucfhrhhomheprfgvthgvrhcugfhishgvnhhtrhgruhhtuceophgvthgv rhdrvghishgvnhhtrhgruhhtsedvnhguqhhurggurhgrnhhtrdgtohhmqeenucggtffrrg htthgvrhhnpedtveeghedtjedvvedvleejueevjeejtdellefgkeelfeeikeejlefgkedt udeuvdenucffohhmrghinhepvdhnughquhgrughrrghnthdrtghomhenucfkphepkeejrd dujeejrdejjedrledtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghi lhhfrhhomhepphgvthgvrhdrvghishgvnhhtrhgruhhtsedvnhguqhhurggurhgrnhhtrd gtohhm X-ME-Proxy: Received: from april.pezone.net (p57b14d5a.dip0.t-ipconnect.de [87.177.77.90]) by mail.messagingengine.com (Postfix) with ESMTPA id 39D9430600A6; Wed, 26 Aug 2020 00:38:55 -0400 (EDT) Subject: Re: some unused parameters cleanup To: Tom Lane References: <511bb100-f829-ba21-2f10-9f952ec06ead@2ndquadrant.com> <2747707.1598374771@sss.pgh.pa.us> Cc: pgsql-hackers From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: <2bd11d40-1e66-9162-2078-1a993bb9df47@2ndquadrant.com> Date: Wed, 26 Aug 2020 06:38:52 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <2747707.1598374771@sss.pgh.pa.us> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020-08-25 18:59, Tom Lane wrote: > Peter Eisentraut writes: >> Here is a series of patches to remove some unused function parameters. >> In each case, the need for them was removed by some other code changes >> over time but the unusedness was not noticed. I have included a >> reference to when they became unused in each case. > > For some of these, there's an argument for keeping the unused parameter > for consistency with sibling functions that do use it. Not sure how > important that is, though. I had meant to exclude cases like this from this patch set. If you see a case like this in *this* patch set, please point it out. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services