Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iSFcF-0003Hi-31 for pgsql-hackers@arkaria.postgresql.org; Wed, 06 Nov 2019 07:20:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iSFcD-000685-Sl for pgsql-hackers@arkaria.postgresql.org; Wed, 06 Nov 2019 07:20:29 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iSFcD-00067r-Gv for pgsql-hackers@lists.postgresql.org; Wed, 06 Nov 2019 07:20:29 +0000 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iSFcA-0003bG-7G for pgsql-hackers@postgresql.org; Wed, 06 Nov 2019 07:20:28 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 30DA7379; Wed, 6 Nov 2019 02:20:24 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Wed, 06 Nov 2019 02:20:24 -0500 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=fm1; bh=zbH6Ke8xdzjA1qvgXTQSeIpj1yhgiojBkcCZ/kCMX DY=; b=GO+Di+CKF9lJXcTKkcuhbJPg3jzk+zKkWi6tpC1DnjL9dm0UxhhqQ9TX6 n36s0cQb5NmT6YQbzkSRSlpTL/Eud5/X+nRj04hT8lyOsOP9ZGFIp7Cb7lXYS8YN j7m3CPjEccHqsW3C0fS62YDo9ly4yQrZ5/N1v5tNGjNi+ygj9ua45crcCwrlLj6v utapNZIqKaAg8L217KNs6xSizbrcMFUHG7r371sDy3OsmJzWgo87H+fIJy0ZRflb p3UPjVdiyOpHTMzIl+ytogdzhVtfRAB9dWZT+NmiJHJ7/jGS2MN1iMka0suTT4qc fmC5awJd7DLOzOSdd3fquqM8DGbhA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudduiedguddtiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefuvfhfhfhokffffgggjggtgfesthejredttdefjeenucfhrhhomheprfgv thgvrhcugfhishgvnhhtrhgruhhtuceophgvthgvrhdrvghishgvnhhtrhgruhhtsedvnh guqhhurggurhgrnhhtrdgtohhmqeenucffohhmrghinhepvdhnughquhgrughrrghnthdr tghomhenucfkphepleefrddvgedvrddugeejrdejleenucfrrghrrghmpehmrghilhhfrh homhepphgvthgvrhdrvghishgvnhhtrhgruhhtsedvnhguqhhurggurhgrnhhtrdgtohhm necuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from april.pezone.net (p5df2934f.dip0.t-ipconnect.de [93.242.147.79]) by mail.messagingengine.com (Postfix) with ESMTPA id B568080059; Wed, 6 Nov 2019 02:20:21 -0500 (EST) Subject: Re: Remove unused function argument To: vignesh C References: Cc: pgsql-hackers From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: <9b3baff2-779f-c4ef-693b-5d4029d2ff0c@2ndquadrant.com> Date: Wed, 6 Nov 2019 08:20:20 +0100 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: 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 2019-10-30 06:51, vignesh C wrote: > On Tue, Oct 29, 2019 at 2:51 PM Peter Eisentraut > wrote: >> >> The cache_plan argument to ri_PlanCheck has not been used since >> e8c9fd5fdf768323911f7088e8287f63b513c3c6. I propose to remove it. >> >> That commit said "I left it alone in case there is any future need for >> it" but there hasn't been a need in 7 years, and I find it confusing to >> have an unused function argument without a clear purpose. It would >> trivial to put it back if needed. >> > Code changes looks fine to me. pushed, thanks -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services