Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w5DTd-0031BW-02 for pgsql-hackers@arkaria.postgresql.org; Wed, 25 Mar 2026 01:56:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w5DTa-00ALSV-2H for pgsql-hackers@arkaria.postgresql.org; Wed, 25 Mar 2026 01:56:07 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w5DTa-00ALSN-1P for pgsql-hackers@lists.postgresql.org; Wed, 25 Mar 2026 01:56:06 +0000 Received: from fhigh-a5-smtp.messagingengine.com ([103.168.172.156]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1w5DTY-00000000yql-1TWq for pgsql-hackers@lists.postgresql.org; Wed, 25 Mar 2026 01:56:06 +0000 Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42]) by mailfhigh.phl.internal (Postfix) with ESMTP id CFF5B1400206; Tue, 24 Mar 2026 21:56:03 -0400 (EDT) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-02.internal (MEProxy); Tue, 24 Mar 2026 21:56:03 -0400 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:subject :subject:to:to; s=fm1; t=1774403763; x=1774490163; bh=Qzp9hJc5nX p+6nj3w7hoGl2Lu5dgH2uovZLgXszuD0c=; b=P37Z6VOwKHHO4yp5FjUGmby9Dd 34We7S8HS7Fini/bDYJUJZsX/wMwN8Y5SZFqAnunj+/YgB/U8UyMk348rcTUKek3 AX0ESb/DNOvRd/Hsu2iT4FPLtCerPI+8rQDjDF/sRyN2mbtL6PzonRoOTA64dHaI SMHClG5AnV5qBC8EtaK8lePc1i8fiMM9+wLE8E+s4h1KNkER8c+zkh0FOkgXwn9C 8rduInWmClSVj72p94TSQgY1gvlR7F+63I4nVBAjCBGWTYm3tVhca4TtR77BcWHE ulSTjExcVovFrmHKhX0F4A0SfscGB0+sJq7EirUCfYsS4P4mKyuwZDFcjoCA== 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:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1774403763; x=1774490163; bh=Qzp9hJc5nXp+6nj3w7hoGl2Lu5dgH2uovZL gXszuD0c=; b=MXBRhDTNg/nTcGE+lmnF33C9Ka4iRpqvWKolWXo80MiVG5W5j6R yLCP6dea2YJYRvFPpqmeCOBhvcCI+TcDuQXSCzuid+sjR36vL/aXDc2kQJVWPmsa /G+dT2acQPG+pXBQNMcBbI4oBR5Cz1a+pXWE0sCP7iRc38Sc/ORUsk9cTqiuBc8T UyZAQy6lqYdnz9T+q3sKHVnOCruFRsOx4iv3Oh4NLTlLBjTG2wv/hMjCVjF3zzdG mUgGdTntvuk/sSswF7RkWQ+s6UElHww2db2TOrbWC4TFkMs53uRLnnu6kqTIGYgA 2vclzyb+rNRkh2FKC54ZTFTYhXLpl/ePghg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgdefvdefudelucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnegfrh hlucfvnfffucdljedtmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtderredttddv necuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesphgrqh huihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepteelieefudffhffhtdetleeggeeg fffhkeeuveetiefgudduvedutefggeeivdejnecuvehluhhsthgvrhfuihiivgeptdenuc frrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiihiidp nhgspghrtghpthhtohepvddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtoheptghlih hffhgptghlrghrkhesshgvlhhinhgtrdgtohhmpdhrtghpthhtohepphhgshhqlhdqhhgr tghkvghrsheslhhishhtshdrphhoshhtghhrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 24 Mar 2026 21:56:02 -0400 (EDT) Date: Wed, 25 Mar 2026 10:55:58 +0900 From: Michael Paquier To: Cliff Clark Cc: "pgsql-hackers@lists.postgresql.org" Subject: Re: [PATCH] Auto vacuum should still run when clock is set back Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="74Pid3QJh7P+4Btn" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --74Pid3QJh7P+4Btn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 24, 2026 at 08:38:21PM +0000, Cliff Clark wrote: > Attached is a small patch to reschedule the auto vacuum workers when > the auto vacuum launcher detects that the current time is before the > last time it was run.=20 Do you mean clock changes, particularly due to Winter/Summer time switches? > I tested this with a script that simply updated a bunch of rows in a > test table. Without the fix, the database files keep growing, with > the fix, the storage used remains stable.=20 >=20 > The patch is based on version > f227b7b20c36b7348867eec48d539d28cfdf831c on the master branch of the > git repo as of this morning.=20 You have not posted a patch, as far as I can see, so it is not really possible to comment about your intention. -- Michael --74Pid3QJh7P+4Btn Content-Type: application/pgp-signature; name=signature.asc -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmnDQK4ACgkQnvQgOdby QH2FRQ//b5XCuVnhM3o5lju6LROISJ2WQRuLptgOxpOIHM109wuEC4mF2Bci5lXW bNcITX58Yew0vPxcHWaR6nfWF+I4s2YbxeH41jwebnOYDlNqJZJUwXkuwcgj468o 79cQ03HIa0WKiRS/cZdL1zsxyvGidDj7jd8IxhVjuI0aTaLWH4LCVqFHbJFxByZ5 Wd7sJ4/R0NyQrp2aiseqvQ/7m0FA4l+3gizVyv1lEw3zuepP1K7cWkgBVnKXp3gH I7h7KDpHDOC9OAkMJ5lb31QMOfpgbGPxDMZH+OgDKkg4Fw/Hl5AJ62mTCkL956gG 8WTYBxlUPKKN1QXoVSMWeN+QSCLENnTPjG97d4BgLrttosbknNwdKEG4tAgPihCX //THXLjbKHYUyXdsFetLzGs9fmbchSrJyNiTv1rAoUbi8EXecVYkJIFVb4HRjCcW MQ9li7dz0ksCjkBvZZCeRw4G7Hweoa4FhMcQbCbrEYyqsdNHEq3htqCkAGiHmo2Q z483WKnzO61H0eUrVYBSkn5WAOerUzndbRHgipxAA6hVkyYSR8u3zb0vyYMoxbGr W9TqaGz4OLdWWqkaI+WuG5EtKJ9hRO+8e+eN1CnF62uGQP3NPd4G6OMN82ZuyuT+ 6xQZXHYUk0dHX2oTIChCliwM3BlghxxWp62srSK0/Pn67L+zMUs= =Try3 -----END PGP SIGNATURE----- --74Pid3QJh7P+4Btn--