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 1prQNw-0005c5-N5 for pgsql-hackers@arkaria.postgresql.org; Tue, 25 Apr 2023 21:39:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1prQNv-0002l6-EN for pgsql-hackers@arkaria.postgresql.org; Tue, 25 Apr 2023 21:39:39 +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 1prQNv-0002kw-4X for pgsql-hackers@lists.postgresql.org; Tue, 25 Apr 2023 21:39:39 +0000 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1prQNs-001shT-J9 for pgsql-hackers@postgresql.org; Tue, 25 Apr 2023 21:39:37 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 3956C32008FF; Tue, 25 Apr 2023 17:39:35 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Tue, 25 Apr 2023 17:39:35 -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:sender :subject:subject:to:to; s=fm3; t=1682458774; x=1682545174; bh=QH HlfHSc0lF12lkYqHdQ9sC938gmpQUAI29KVX2PMRw=; b=ZWeLJONStGJq5cX10q 9DvSPHtsOA0kg9iWyFgREM8muTLuCC9Pu4tCj5lcifaUdD1am+uMhBmZpUB1emRP z/cn81veEo3/oXBqFhLy+jjfIS9S3okXB+GfGzUI5qM2GmP2Ao/pnOJJ8kzJTlFt PBCqD/ZAt/ZjDx4OR493is6+txzfEUUhWyzzZTjMymiHsNXkpoQmDFoBGfVVeToK rRtDWZ6ZhP1rXlhF7d0uCu/67giqWE2pvrkCYincHGANtDbUE2ljFc0Wvi/yvcbg bHCjOSMWD8l1JfbDbTRZ8x+s6tJOdVqrCVdXq0Y6WTBpVbJ0EANZm+1k2lpvvobI pXTQ== 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=fm3; t=1682458774; x=1682545174; bh=QHHlfHSc0lF12 lkYqHdQ9sC938gmpQUAI29KVX2PMRw=; b=aMJ3Phd9QnMUSyHcpcZSoxxzK0raA SktQhtriTzLAANujeOZoxJtooIzF4o2ApVONUFlyGNWbra9PaTt8DAwrGTnhyCkQ PRjuu2fizrGRlA+EWSwFemQukgQuFjgRsmsSm+kjwIxCBnpYDgr0dakRq2qTDaAG y1EUw1QDZNUhlwohkqouJLY0BvVsg/beh1TGqg+rfMn+nmRDtAxHPtlrWEJlhZrZ lOWJWIrTseu2ZPqSR1Kbk2HnCCc9bKLc8L2spiAgkRm5gxg+qqiccC1FPNYjEo67 eSeFePEMxEk+qQZtuulshtSF8D8okFq1mCzURDlpFRtONezT5qhGL8PRQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfedufedgtdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgfrhhlucfvnfffucdljedtmdenucfjughrpeffhf fvvefukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefoihgthhgrvghlucfrrghq uhhivghruceomhhitghhrggvlhesphgrqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvg hrnhepteelieefudffhffhtdetleeggeegfffhkeeuveetiefgudduvedutefggeeivdej necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhhitg hhrggvlhesphgrqhhuihgvrhdrgiihii X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 25 Apr 2023 17:39:31 -0400 (EDT) Date: Wed, 26 Apr 2023 06:39:21 +0900 From: Michael Paquier To: Kyotaro Horiguchi Cc: torikoshia@oss.nttdata.com, pgsql-hackers@postgresql.org Subject: Re: Allow pg_archivecleanup to remove backup history files Message-ID: References: <20230425.172948.1630351042955772893.horikyota.ntt@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="9nXsn/YBm0ZO+Xo9" Content-Disposition: inline In-Reply-To: <20230425.172948.1630351042955772893.horikyota.ntt@gmail.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --9nXsn/YBm0ZO+Xo9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Apr 25, 2023 at 05:29:48PM +0900, Kyotaro Horiguchi wrote: > I thought that we have decided not to do that, but I coundn't find any > discussion about it in the ML archive. Anyway, I think it is great > that we have that option. No objections from here to make that optional. It's been argued for a couple of times that leaving the archive history files is good for debugging, but I can also get why one would one to clean up all the files older than a WAL retention policy. Even if these are just few bytes, it can be noisy for the eye to see a large accumulation of history files mixed with the WAL segments. -- Michael --9nXsn/YBm0ZO+Xo9 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmRISIkACgkQnvQgOdby QH3gog//V6gebptFaxfsS/HUkVCgwYPtvrV0VJ0NFRdli5oaOu7wkA8cAnDwKm6L Sv6vzOUt+EjAV90nE1Gpfq0HPJ8jReIwe/GYUvgd2dDeCf8EzWtaSkrX1aT5kyP5 V3oXPto5xq0xb6oCFjoQBLmT+l3eHAscqr5cHPFwaVvOZVN6DDMfpWR9XQJ+ZF2v dQMw1t7Z3bc5Z5ljIiMvJZ+1nIx1IG0yLt5tCOKKAr2/QZh3wiH6O8L7plBiTSGV kKwrEMhvxhwsvJoIIj6T/zzelcDod0XlSv8aN1JLBE9WH1vvG8UzMZOgQQAYTCn1 4Ev7PN4qy511EVVnIPY+jamN1Z6fZMeC4MSyktwMa9X3KrUB6jwbJSvYRVZj+drq SaflP1AcENPDLzjnG7QUVkwNDLrgg2ChnmHT2dcgjjA2OuhpyCwcLeD3tG9C3Lkv 8kwO57TV7XwvDXZwqQeAA1BIBoha6M5v9nXGYG/PlESZgec8Leta2m+dTlCPhQu5 IHEz05p0QuFgfYbMagznsNk8BM4DtGF83I3aUuGw03LMp4fu8UUqSEebaTRhcvul OQCjpMDbheUeRqbkNjhDVFn1rZnyVbly3dyKqosFkh+BFvEcmVM2duehTPJPyDy/ fSxaXo8d6ycpcNO2jqcDDTB6UO4pm76XkCQl7Y5Fja3ZZ3i2YIY= =8wLZ -----END PGP SIGNATURE----- --9nXsn/YBm0ZO+Xo9--