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 1lKNw4-0000Jc-7E for pgsql-committers@arkaria.postgresql.org; Thu, 11 Mar 2021 16:13:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lKNw2-0003vW-T6 for pgsql-committers@arkaria.postgresql.org; Thu, 11 Mar 2021 16:13:14 +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 1lKNw2-0003vP-6o for pgsql-committers@lists.postgresql.org; Thu, 11 Mar 2021 16:13:14 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lKNvx-0001rz-Ld for pgsql-committers@lists.postgresql.org; Thu, 11 Mar 2021 16:13:13 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 180045C00A7; Thu, 11 Mar 2021 11:13:07 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Thu, 11 Mar 2021 11:13:07 -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:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=mY7vh1US+hzd5qJNtVnDhDUA76Te4xvr8ILG/xCT19E=; b=QxfYbhad nMIA3wkx0jYW3p/NF+qQ1f7tLeFDGTNU/Zb8i0J1/We8tzahHrODmwV9Thad162/ yOvVLb5b/j69AWu7kBoNQPwi/gQiUzRQdswwDnYyNRVofIf1xxHw8coBMlTun9WK kgGjprKkrRjxhanZFU18nrNwkMYu/mAHtoAUEqNPTimgWpykq5fO0nFAgYOZD1FN v+Xtaxg1CmYadZK1E4TLbvzH4NequixTeg+N1Viq4qDnOgUxFmezZ29gNB4AK93x tM/MLLY8H3uFaFFgaa/sC1DeewBPSFkccqe639/Hhk/ipveUB/KW3WwYwPg7gZUm gQRxmIWWFgalcg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledruddvtddgkeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdlfeehmdenucfjughrpeffhffvuffkgggtugfgjggfsehtkeertddt redunecuhfhrohhmpeetlhhvrghrohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrg hlvhhhrdhnohdqihhprdhorhhgqeenucggtffrrghtthgvrhhnpeeufffhjeeiueeuffeg vddukeegledtveeivdeiueefieeivefgteehueefteehvdenucfkphepudeltddrleehrd duledrleehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhho mheprghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Received: from perhan.alvh.no-ip.org (unknown [190.95.19.95]) by mail.messagingengine.com (Postfix) with ESMTPA id CCC051080066; Thu, 11 Mar 2021 11:13:04 -0500 (EST) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 5F6272A099B; Thu, 11 Mar 2021 13:13:01 -0300 (-03) Date: Thu, 11 Mar 2021 13:13:01 -0300 From: Alvaro Herrera To: Peter Geoghegan Cc: Michael Paquier , pgsql-committers Subject: Re: pgsql: Don't consider newly inserted tuples in nbtree VACUUM. Message-ID: <20210311161301.GA14222@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2021-Mar-10, Peter Geoghegan wrote: > On Wed, Mar 10, 2021 at 10:57 PM Michael Paquier wrote: > > I think that this commit has some issues that need more thoughts. > > > > The removal of vacuum_cleanup_index_scale_factor means that any > > existing deployment of Postgres that includes at least one index using > > this parameter would fail in the middle of the restore during > > pg_upgrade, when restoring the binary dump. > > I don't believe that it's necessary. Partly because it seems rather > unlikely that vacuum_cleanup_index_scale_factor was ever set like this > in practice. I disagree; that GUC was a feature in its own right, and it seems likely that people have set it in the hopes that it'd help them, even if it didn't actually achieve that. The GUC was added in April 2018 (pg11) and it's been possible to set it on all releases since 11.0. That's a long time. > You could have made the same arguments against removing > recheck_on_update in commit 1c53c4de. recheck_on_update was born on 11.0 and killed in time for 11.1, so its opportunity to become set was narrower. -- Álvaro Herrera 39°49'30"S 73°17'W "La victoria es para quien se atreve a estar solo"