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 1pZ5dV-0007Ac-Ul for pgsql-hackers@arkaria.postgresql.org; Mon, 06 Mar 2023 07:51:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pZ5dU-0008MM-Ow for pgsql-hackers@arkaria.postgresql.org; Mon, 06 Mar 2023 07:51:56 +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 1pZ5dU-0008MD-F4 for pgsql-hackers@lists.postgresql.org; Mon, 06 Mar 2023 07:51:56 +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 1pZ5dS-0005Ww-0q for pgsql-hackers@postgresql.org; Mon, 06 Mar 2023 07:51:55 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 7B62D320076F; Mon, 6 Mar 2023 02:51:52 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 06 Mar 2023 02:51:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm1; t=1678089112; x=1678175512; bh=44 GG4PKoKMDgsP/FwgakKYsottHPwb9gyHrZRAycKh0=; b=E3sP7kVSAgawVrhEdA pH2V9x5uWEeKx2QhrL5Cbio3uiS2/0jEirmwxVNKE2Od3y8VI2/9hg1xOq6uYuMF vgLXOyLWFe13pXWEeMY0v0QA+JxqOynE4Z/x0UEr4+L4bsAG9IpBAUw1pra9KsP7 nhcB2vGAqgvyoZ9jXzXFj2JGZpZNMu38ZvgqtXSf1HFmF20GAWe0l0lt6znu8vpz yBSeRTkfjRzTZ5SitXKjdrHL+3Mb1UcXeWoWM81+46eGqNNXpnCmTgs1uvBTU14+ +YhXJrdnduzdlHkTbrDFW9a7oegFg7iZFBQpCf6onofD0zYPi1gVezCwdY1K12iH shKg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1678089112; x=1678175512; bh=44GG4PKoKMDgs P/FwgakKYsottHPwb9gyHrZRAycKh0=; b=Pcp4zh0OduxPZydSwh09i9spQXzLI 5ffYddK7Xd7q2v7O77DYX4iVBck0Q6P1om1/druTT/PPFfYJ965LHvFHkS/cbVNh oeUyNFzsResSelaqTS06jAOuYsY3gHyWag2VB+xQrJwbrwRBmG1x38qszdrlWM+8 koVplT+UD+GoHxRaz07a2fXblZCtlJermOECo+7aOSqd+5qgOwrDLte7K5R85w4Q EpG2NORHxA6hcf2h7iYRgfW3RRcgBD7dd7B9fdfCyYrxgtNJ2STNPCfad/a8YZru R4d8SXC45KyNcSofcyJX1A4zl8HiF2jgsB9IYA7QGi1KjIC7tHtChS8uQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvddthedgudduvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enfghrlhcuvffnffculdejtddmnecujfgurhepfffhvfevuffkfhggtggujgesghdtreer tddtvdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlse hprghquhhivghrrdighiiiqeenucggtffrrghtthgvrhhnpeetleeifedufffhhfdtteel geeggeffhfekueevteeigfduudevudetgfegiedvjeenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdig hiii X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 6 Mar 2023 02:51:49 -0500 (EST) Date: Mon, 6 Mar 2023 16:51:46 +0900 From: Michael Paquier To: Nathan Bossart Cc: vignesh C , pgsql-hackers@postgresql.org Subject: Re: add PROCESS_MAIN to VACUUM Message-ID: References: <20221230000028.GA435655@nathanxps13> <20230107050724.GA914213@nathanxps13> <20230119190807.GA4062411@nathanxps13> <20230301172637.GA1456203@nathanxps13> <20230302065359.GA2140777@nathanxps13> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="P+YLkchV1NpFMj+K" Content-Disposition: inline In-Reply-To: <20230302065359.GA2140777@nathanxps13> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --P+YLkchV1NpFMj+K Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Mar 01, 2023 at 10:53:59PM -0800, Nathan Bossart wrote: > I don't feel a strong need for that, especially now that we aren't > modifying params anymore. That was mostly OK for me, so applied after tweaking a couple of places in the tests (extra explanations, for one), the comments and the code. The part that improved the tests of PROCESS_TOAST was useful on its own, so I have done that separately as 46d490a. Another thing that I have found incorrect is the need for two pg_stat_reset() calls that would reflect on the whole database, in the middle of a test running in parallel of other things. As far as I understand, you have added that to provide fresh data after a single command while relying on vactst, but it is possible to get the same amount of coverage by relying on cumulated counts, and that gets even more solid with all these commands run on an independent table. -- Michael --P+YLkchV1NpFMj+K Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmQFm5IACgkQnvQgOdby QH0SQw/+M2CaVcpJ/ESzaKPexzVSSHLPIcN15Z5bxRXjNknO7V3xhq0nJBpOGtxZ taqrOSV3vzg10AWPK68Irlb4IxzeTXFuG3yIpUxgt3Ajgnxaop0vDucb2VaHZvUF WsLLYGle0Z0D2lQoxrVFjpUTih7aBBnMp0pf5tgSOPTk7/3wEa4JwQ0f5sa5X9xV qzQJzxfgHTK+g0R8pRZ9WHKyvgKQb/X4pvQ1k1m6KcFxocI4ro/UoDJoWlpAh5cT 1j9pltuWCt0T6ALLcr0FreFI5cZRoIaoZpV+I7CB4Zmj/CtFWHUAPGzjNtY6pliP WewrlegxScaY22f5Q4uhzcsLXvM11Hyo1+thFbO0iShFaUh3XKkKqseVc9WDXaaT HbTDUrDLFkcSagYa1bJwKre4Wduk4E5SHswK4bjLknuj08qYr1UK6t3qhk9UbNat z6ckexuRZZIq2YEh26UAx3g5Nh4+Dy5DhTkn3h8WkC6MMUTWk21eD7sXr7wmziM2 aaYAIltatOMriDWYEj6UkxO3sEjAw5zLeGaLxr1192vmPJC99dIX2tihCl/w+TdB eKFsY9wSfwclbN6+NB/d1LW9wX7Yv4n8A9OGq3uJe0TlblWl8R78ky9BAqu49j1X Ln8eilQWeytPYSemTvxt/xxVARCnVhTPCRr1DvSA7yBL6VdI4SA= =cJZz -----END PGP SIGNATURE----- --P+YLkchV1NpFMj+K--