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 1lKTA5-0005YK-AQ for pgsql-committers@arkaria.postgresql.org; Thu, 11 Mar 2021 21:48:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lKTA2-0001io-Bl for pgsql-committers@arkaria.postgresql.org; Thu, 11 Mar 2021 21:48:02 +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 1lKTA1-0001ga-HV for pgsql-committers@lists.postgresql.org; Thu, 11 Mar 2021 21:48:02 +0000 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lKT9w-0001Bm-1y for pgsql-committers@lists.postgresql.org; Thu, 11 Mar 2021 21:48:00 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id 8B8C516CC; Thu, 11 Mar 2021 16:47:53 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Thu, 11 Mar 2021 16:47:54 -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=BzWT2fZkaaGaGLhVzx3rmSui9zk1QjtQ8S7cpihbls8=; b=WDzYvTAy fSr4jlw8Kt/gEGtwS6dh6UXeLlh8s4qAH1xAkVI8d7WgLIocD1Ng3BT8n/nqJfqB /D/4D4GY3BScH+lUbhXZ1JnQrEB+Xwe4xSXcLOapa0Fa00gc1Z5tgx/5q+EXYo0Q 0KF+Omf21UTZPxlYtPphZeXz5WLarT6tN+gRsQB1fL7/Jyojk+H/ym/R1Jo5RUcu a7GWKyCeZvOhlABL8N3ND2qiAyP7MmGRNriN/T0SKnKtT9azrQCF8kc5nkIN9qL1 AhfaFOLQzI9VaVZtQIqKPyTn9SbLV8nOBFGXAa4ZkvR4gbgByW+rSVm91/7/h1pV +T+DqXLQ8DezMw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledruddvtddgudehfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpeffhffvuffkgggtugfgjggfsehtkeertddtredunecuhfhrohhmpeetlhhv rghrohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorh hgqeenucggtffrrghtthgvrhhnpeeufffhjeeiueeuffegvddukeegledtveeivdeiueef ieeivefgteehueefteehvdenucfkphepudeltddrleehrdduledrleehnecuvehluhhsth gvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlvhhhvghrrhgvsegr lhhvhhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Received: from perhan.alvh.no-ip.org (unknown [190.95.19.95]) by mail.messagingengine.com (Postfix) with ESMTPA id 284A4108005C; Thu, 11 Mar 2021 16:47:52 -0500 (EST) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 80F762A09BC; Thu, 11 Mar 2021 18:47:49 -0300 (-03) Date: Thu, 11 Mar 2021 18:47:49 -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: <20210311214749.GA13835@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-11, Peter Geoghegan wrote: > On Thu, Mar 11, 2021 at 12:39 PM Alvaro Herrera wrote: > > Given the short life of recheck_on_update I don't think we should > > consider it a precedent. > > Now we have a useful precedent. Apparently there is no way to truly > remove a storage parameter. Well, if anybody would write this code: > > [...] It would be slightly better to ignore it on input (ie. make > > ALTER TABLE SET a no-op for that case), but I don't think we have > > code to do that. > > That would be better, certainly. then we could wait until the last release that supported the parameter goes out of support. (So if we had decided to keep recheck_on_update in pg11, we could remove it in pg17). > That seems a little annoying, but not worth spending too much time on. I guess it'd require that somebody is sufficiently annoyed about the few lines that supporting a no-op reloption requires. Considering that we haven't even got the code to release HEAP_MOVED_IN/HEAP_MOVED_OFF, which has been theoretically possible for ages, I'm not holding my breath. -- Álvaro Herrera Valdivia, Chile